/* Shared form system: public pages, player profile and committee workspace. */
:root{--field-bg:var(--club-panel);--field-border:var(--club-border-strong);--field-text:var(--club-white);--field-muted:var(--club-muted);--field-accent:var(--club-turquoise);--field-ring:var(--club-turquoise);--field-menu:var(--club-panel)}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=color]),body textarea,body select,body .theme-select-trigger{
 background:linear-gradient(140deg,var(--club-panel-raised),var(--field-bg))!important;color:var(--field-text)!important;border:1px solid var(--field-border)!important;border-radius:13px!important;min-height:48px;padding:12px 15px!important;box-shadow:inset 0 1px 0 #ffffff06;font:inherit;line-height:1.4;transition:border-color .18s,box-shadow .18s,background .18s;max-width:100%;color-scheme:dark}
body input::placeholder,body textarea::placeholder{color:var(--field-muted);opacity:1}body textarea{min-height:128px;resize:vertical}body label{line-height:1.55}body input:hover:not(:disabled),body textarea:hover:not(:disabled),body select:hover:not(:disabled),body .theme-select-trigger:hover:not(:disabled){border-color:var(--club-turquoise)!important}
body input:focus-visible,body textarea:focus-visible,body select:focus-visible,body .theme-select-trigger:focus-visible,body .theme-select-trigger[aria-expanded=true]{outline:2px solid var(--field-ring)!important;outline-offset:3px;box-shadow:0 0 0 5px #78dba41a!important;border-color:var(--club-turquoise)!important}
body input:disabled,body textarea:disabled,body select:disabled,body .theme-select-trigger:disabled{opacity:.55;cursor:not-allowed}body input[readonly]{background:var(--club-panel-raised)!important;color:var(--club-muted)!important;border-style:dashed!important}body input[type=checkbox],body input[type=radio],body input[type=range]{accent-color:var(--club-accent)}body input[type=checkbox],body input[type=radio]{width:19px;height:19px;flex-shrink:0}body input[type=color]{border:1px solid var(--field-border);border-radius:10px;background:var(--club-panel);min-height:46px;padding:5px}body input::file-selector-button{background:#b5edc5;color:#0c3224;border:0;border-radius:8px;padding:8px 12px;margin-right:12px;font-weight:700}body select option{background:var(--club-panel);color:#edf9ef}body select option:checked{background:#295c42;color:#dcffe8}
body input:user-invalid,body textarea:user-invalid,body select:user-invalid{border-color:#e6a595!important}body .theme-select.is-invalid .theme-select-trigger{border-color:#e6a595!important}
.theme-select{display:inline-block;position:relative;vertical-align:middle;width:100%;min-width:0;max-width:100%;text-align:left}.theme-select select.theme-select-source{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;clip-path:inset(50%)!important;overflow:hidden!important;border:0!important;opacity:0!important;pointer-events:none}
body .theme-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer;letter-spacing:normal!important;font-weight:500;transform:none!important}.theme-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.theme-select-chevron{width:9px;height:9px;border-right:2px solid var(--club-turquoise);border-bottom:2px solid var(--club-turquoise);transform:rotate(45deg) translateY(-2px);margin:0 4px 0 10px;flex-shrink:0;transition:transform .18s}.theme-select-trigger[aria-expanded=true] .theme-select-chevron{transform:rotate(225deg) translate(-2px,-2px)}
.theme-select-menu{position:fixed;z-index:10000;box-sizing:border-box;padding:7px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--club-border-strong);border-radius:16px;background:linear-gradient(145deg,var(--club-panel-raised),var(--club-panel));box-shadow:0 18px 50px #00181280,0 0 0 3px #8bdaad12;color:var(--club-white);scrollbar-width:thin;scrollbar-color:#439eaa var(--club-panel);max-width:calc(100vw - 24px);font:15px/1.5 Arial,Helvetica,sans-serif}.theme-select-menu[hidden]{display:none}.theme-select-option{padding:11px 38px 11px 13px;min-height:44px;position:relative;border-radius:10px;margin:2px 0;cursor:pointer;overflow-wrap:anywhere}.theme-select-option[aria-selected=true]{background:var(--club-accent);color:var(--club-on-accent);font-weight:700}.theme-select-option[aria-selected=true]:after{content:'✓';position:absolute;right:14px;top:11px;font-weight:800}.theme-select-option.is-active:not([aria-selected=true]),.theme-select-option:hover:not([aria-disabled=true]):not([aria-selected=true]){background:#163e49;color:var(--club-white);box-shadow:inset 0 0 0 1px #87be9740}.theme-select-option[aria-disabled=true]{opacity:.45;cursor:not-allowed}.theme-select-group{padding:10px 13px 4px;color:var(--club-turquoise);font-size:11px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}
/* Let labels and controls breathe without changing the approved page structure. */
.form-row, .club-admin-grid, .club-profile-security{gap:22px}form label>input,form label>textarea,form label>.theme-select{margin-top:7px}.club-check input{margin-top:0!important}body .club-member-tools{gap:18px}.club-member-tools .theme-select{min-width:180px}body .club-checks,body .club-member-picker{border-radius:13px;border-color:var(--club-border);background:var(--club-panel)}body .club-admin-access,body .club-admin-summary>div,body .account-identity{border-color:var(--club-border-strong);border-radius:16px}.club-admin-grid>.panel,.club-profile-security>.panel{border-radius:18px;border-color:var(--club-border)}body .club-status.active,body .club-status.accepted{background:#254c35;color:#caf3d2}body .club-form-status{color:#b9e5c5}
@media(max-width:640px){body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),body textarea,body select,body .theme-select-trigger{font-size:16px!important;min-height:48px}.theme-select-menu{font-size:16px;border-radius:14px}.club-member-tools{flex-wrap:wrap}.club-member-tools label{min-width:0;width:100%}.theme-select-option{padding-top:12px;padding-bottom:12px}.form-row{gap:16px}}
@media(prefers-reduced-motion:reduce){body input,body textarea,body select,body .theme-select-trigger,.theme-select-chevron{transition:none}}

.theme-select[hidden]{display:none!important}.account-identity input{font-size:18px!important;font-weight:800!important}.theme-select-trigger:disabled .theme-select-chevron{opacity:.55}
