/* DraftDayPlanner base.css - site-wide defaults and shared helpers */

/* SECTION 01.1 - Reset */
*{margin:0;padding:0;box-sizing:border-box;}

/* SECTION 01.2 - Design Tokens */
:root{--green-dark:#0e1622;--green:#068f23;--green-hover:#11a832;--green-mid:#36b945;--green-dim:#22313e;--green-olive:#263644;--bg:#eef6fa;--text:#111a22;--shell-bg:#f7fbfd;--shell-border:#cfdbe4;--muted-text:#667684;--football-brown:#1f2a36;--month-bar:#1f2a36;--month-text:#ffffff;--action-blue:#2b81d6;--action-blue-hover:#3b91e5;--action-teal:#2fb7a3;--cal-cell:114px;--cal-dow:24px;--cal-bar:34px;--cal-gap:6px;--content-inset:10px;--bar-inset:10px;--content-edge:20px;--pill-bg:#22313e;--pill-bg-hover:#0e1622;--pill-fg:#ffffff;--pill-fg-hover:#ffffff;--chip-h:36px;--chip-pad-x:12px;--chip-invite-bg:#2fb7a3;--chip-weekday-bg:#1f2a36;--chip-fg:#fff;--menuIcon:51px;--titleGap:12px;--header-height:88px;--content-max:1032px;--control-font:calc(.86rem + 1px);--range-min:9px;--range-max:14px;--footer-h:64px;--scrollbar-edge:17px;}

/* SECTION 01.3 - Page Base */
html{height:100%;overflow:hidden;}
body{height:100vh;overflow-x:hidden;overflow-y:scroll;}
body{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);line-height:1.4;padding-bottom:calc(88px + env(safe-area-inset-bottom));}
body{scrollbar-color:#2d4157 var(--green-dark);}
body::-webkit-scrollbar-track{background:var(--green-dark);}
body::-webkit-scrollbar-thumb{background:#2d4157;}
body::-webkit-scrollbar-thumb:hover{background:#243446;}
body::-webkit-scrollbar-thumb:active{background:#1b2734;}
body::-webkit-scrollbar-button{background:var(--green-dark);}
main{padding-top:calc(var(--header-height) - 1px);}

/* SECTION 01.4 - Buttons */
button{cursor:pointer;border:none;border-radius:8px;padding:10px 14px;background:var(--green);color:#fff;font-weight:700;transition:opacity .15s ease;user-select:none;-webkit-user-select:none;}
button:hover{opacity:1;}
button.primary:hover{background:var(--green-hover);}
button:disabled{opacity:.5;cursor:not-allowed;}
.cancel-btn{background:#dbe6ed;color:#15222e;}
.cancel-btn:hover{background:#cbd9e3;}
.btn-secondary{background:#eef6fa;border:1px solid #cfdbe4;padding:8px 12px;border-radius:10px;cursor:pointer;}
.btn-secondary:hover{background:#dfeaf1;}
.btn-danger{background:#d9534f;color:#fff;border:0;padding:8px 12px;border-radius:10px;cursor:pointer;}
.btn-danger:hover{background:#c64541;}
.danger{background:#b85a56;color:#fff;border:0;border-radius:8px;padding:8px 16px;font-weight:700;cursor:pointer;}
.danger:hover{background:#a94c48;}

/* SECTION 01.5 - Form Controls */
select{min-width:fit-content;white-space:nowrap;}
.weekday-select,.time-select{min-width:fit-content;white-space:nowrap;}

/* SECTION 01.6 - Shared Helpers */
.no-select{user-select:none;-webkit-user-select:none;}
.is-busy{opacity:.65;pointer-events:none;}
.spinner{display:inline-block;width:1em;height:1em;border:.16em solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:spin .9s linear infinite;margin-left:6px;}
@keyframes spin{to{transform:rotate(360deg);}}
