/* ==========================================================================
   Sports Agent Directory - additions for the static (non-React) version.
   The main design lives in style.css (compiled Tailwind CSS from the
   original build). This file only styles pieces that React used to render.
   ========================================================================== */

[hidden] { display: none !important; }

/* ---- Header dropdown menus (Sports Agents / Draft Picks) ---- */
.dd-wrap { position: relative; display: flex; }
.dd-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 12rem; padding: .375rem;
  border-radius: 1rem; border: 1px solid rgb(255 255 255 / .1);
  background: #060a12; color: #fff;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / .45);
  animation: dd-in .15s ease-out;
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
.dd-item {
  display: block; padding: .625rem 1.25rem; border-radius: .75rem;
  font-size: .875rem; font-weight: 500; color: #fff; white-space: nowrap;
}
.dd-item:hover, .dd-item:focus-visible { background: rgb(255 255 255 / .08); outline: none; }
.dd-item[aria-current="page"] { color: #dc2626; }
[data-dropdown-trigger] svg, [data-mobile-submenu] svg { transition: transform .2s; }
[data-dropdown-trigger][aria-expanded="true"] svg,
[data-mobile-submenu][aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---- Terms checkbox on the registration page ---- */
[role="checkbox"][aria-checked="true"] { background: #dc2626; border-color: #dc2626; color: #fff; }
[role="checkbox"] { cursor: pointer; }

/* ---- Upload boxes on "List Your Profile" ---- */
.upload-name { font-size: .75rem; color: #454f5b; word-break: break-all; margin-top: .25rem; }

/* ---- Message shown while forms are not yet connected ---- */
.form-notice {
  margin-top: 1rem; padding: .75rem 1rem; border-radius: .5rem;
  border: 1px solid #fcd34d; background: #fffbeb; color: #78350f;
  font-size: .875rem; line-height: 1.4;
}
