/* import Google fonts: playfair disaplay and DM Sans */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arima:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ovo:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rufina:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:wght@300;400;500;600&display=swap');


/* variables */
:root {
    --teal:         #1D5D5D;
    --teal-dark:    #154444;
    --teal-light:   #e8f0f0;
    --plum:         #421C3B;
    --plum-light:   #f0e8ee;
    --moss:         #6F803C;
    --moss-light:   #f0f3e8;
    --red:          #A3464D;
    --red-light:    #f7eced;
    --gold:         #B28E3A;
    --gold-light:   #f8f3e8;
    --gold-bright:  #C9A84C;
    --dark:         #1a1520;
    --text:         #2d2d35;
    --text-muted:   #6b6b7a;
    --border:       #e4e0e8;
    --bg:           #f9f8f6;
    --white:        #ffffff;
    --shadow-sm:    0 2px 8px rgba(29, 93, 93, 0.08);
    --shadow-md:    0 4px 20px rgba(29, 93, 93, 0.12);
    --shadow-lg:    0 8px 40px rgba(29, 93, 93, 0.18);
    --radius:       14px;
    --radius-sm:    8px;
    --radius-pill:  999px;
    --transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Rufina', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--gold-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

main {
    min-height: 100vh;
}

/* typography */
h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    letter-spacing: -0.02em;
}
 
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
 
p { color: var(--text); }
 
a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}
 
a:hover { color: var(--teal-dark); }

/* navbar */
.navbar {
    background: var(--moss-light) !important;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: var(--radius-pill);
    width: 70%;
    margin: 20px auto;
}
 
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Arima', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark) !important;
    letter-spacing: -0.03em;
}

.navbar-logo .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
     display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
    font-family: 'Arima', serif;
    font-weight: 700;
}

.navbar-logo:hover { color: var(--teal) !important; }
 
.navbar-nav .nav-link {
    font-family: 'Arima', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}
 
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--teal) !important;
    background: var(--teal-light);
}

.nav-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: wheat;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: var(--teal-light);
    color: var(--teal);
}

.nav-icon-btn:hover svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-icon-btn .badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    background: var(--red);
    border-radius: var(--radius-pill);
    border: 2px solid var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3px;
}

.btn-join {
    font-family: 'Ovo', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text) !important;
    background: var(--teal);
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-join:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 93, 93, 0.3);
    color: var(--white) !important;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.nav-user-btn:hover {
    border-color: var(--teal);
    background: var(--teal-light);
    color: var(--teal);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--plum));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}

/* dropdown */
.dropdown-menu {
    border:1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 210px;
    background: var(--white);
}
 
.dropdown-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
 
.dropdown-item:hover {
    background-color: var(--teal-light);
    color: var(--teal);
}
 
.dropdown-item.text-danger:hover {
    background: var(--red-light);
    color: var(--red) !important;
}
 
.dropdown-divider {
    margin: 0.3rem 0;
    border-color: var(--border);
}

/* container */
.container {
    max-width: 1140px;
}

/* cards */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
}
 
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
 
.card-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
    color: var(--text);
}
 
.card-body {
    padding: 1.5rem;
}
 
.card-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
}

/* buttons */
.btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.4rem;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
 
.btn-primary {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}
 
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 93, 93, 0.3);
    color: var(--white);
}
 
.btn-outline-primary {
    border-color: var(--teal);
    color: var(--teal);
    background: transparent;
}
 
.btn-outline-primary:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 142, 58, 0.35);
}
 
.btn-success {
    background: var(--moss);
    border-color: var(--moss);
    color: var(--white);
}
 
.btn-success:hover {
    background: #5a6830;
    border-color: #5a6830;
    color: var(--white);
    transform: translateY(-1px);
}
 
.btn-danger {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}
 
.btn-danger:hover {
    background: #8a3840;
    border-color: #8a3840;
    color: var(--white);
    transform: translateY(-1px);
}
 
.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
    background: transparent;
}
 
.btn-outline-secondary:hover {
    background: var(--bg);
    border-color: var(--text-muted);
    color: var(--text);
}

/* call to action buttons */
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    font-weight: 700;
}
 
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
}

/* badges - status */
.badge {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
}
 
.bg-success { 
    background-color: var(--moss-light) !important; 
    color: var(--moss) !important; 
}

.bg-warning { 
    background-color: var(--gold-light) !important; 
    color: var(--gold) !important; 
}

.bg-danger  { 
    background-color: var(--red-light) !important; 
    color: var(--red) !important; 
}

.bg-primary { 
    background-color: var(--teal-light) !important; 
    color: var(--teal) !important; 
}

.bg-secondary { 
    background-color: #f0f0f4 !important; 
    color: var(--text-muted) !important; 
}

/* forms */
.form-control,
.form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}
 
.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(29, 93, 93, 0.1);
    outline: none;
}
 
.form-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

/* alerts */
.alert {
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid;
}
 
.alert-success {
    background: var(--moss-light);
    border-left-color: var(--moss);
    color: var(--moss);
}
 
.alert-danger {
    background: var(--red-light);
    border-left-color: var(--red);
    color: var(--red);
}
 
.alert-warning {
    background: var(--gold-light);
    border-left-color: var(--gold);
    color: var(--gold);
}
 
.alert-info {
    background: var(--teal-light);
    border-left-color: var(--teal);
    color: var(--teal);
}

/* tables */
.table {
    font-size: 0.9rem;
}
 
.table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding: 0.75rem 1rem;
    background: var(--bg);
}
 
.table tbody td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
 
.table-hover tbody tr:hover {
    background-color: var(--teal-light);
}

/* home page hero section */
.hero {
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
}
 
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
}
 
.hero h1 {
    color: var(--teal-dark); 
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
 
.hero h1 em {
    font-style: italic;
    color: var(--gold-bright);
}
 
.hero p {
    /* color: rgba(255,255,255,0.8); */
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
    position: relative;
    z-index: 1;
}
 
.hero-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-motif {
    font-family: 'Playfair Display', serif;
    font-size: 10rem;
    font-style: italic;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    user-select: none;
    position: relative;
    z-index: 1;
}

/* stats bar */
.stats-bar {
    background: var(--moss-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.stat-item { text-align: center;}

.stat-number {
    font-family: 'Playfair Display', serif; 
    font-size: 2.25rem; 
    font-weight: 700; 
    color: var(--teal); 
    display: block; 
    line-height: 1; 
    margin-bottom: 0.25rem;
}

.stat-label { 
    font-size: 0.78rem; 
    color: var(--text-muted); 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 0.6px; 
}

/* browse page skill cards */
.skill-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--plum));
    opacity: 0;
    transition: var(--transition);
}
 
.skill-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--teal);
}

.skill-card:hover::before {
    opacity: 1;
}
 
.skill-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
 
.skill-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
 
.skill-card-description {
    font-size: 0.9rem;
    color: var(--text);
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}
 
.skill-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

/* sent and received swap cards */
.swap-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 1rem;
}
 
.swap-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}
 
.swap-arrow {
    color: var(--gold);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* profile page */
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--teal-light);
    box-shadow: 0 0 0 1px var(--teal);
}
 
.profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--plum));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
 
.rating-display {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
}

/* page headers */
.page-header {
    padding: 2rem 0 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}
 
.page-header h2 {
    margin-bottom: 0.25rem;
}
 
.page-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* filter / search bar */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

/* footer */
.footer {
    background: var(--moss-light);
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    /* margin-top: 5rem; */
    font-size: 0.875rem;
    text-align: center;
}
 
.footer a {
    color: var(--text-muted);
    transition: var(--transition);
}
 
.footer a:hover {
    color: var(--gold-bright);
}

footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* message bubbles */
.message-bubble {
    word-wrap: break-word;
}

.message-sent {
    background-color: var(--teal);
    color: var(--white);
}

.message-received {
    background-color: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

/* notifications */
.notification-card { 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    padding: 1rem 1.25rem; 
    background: var(--white); 
    margin-bottom: 0.75rem; 
    transition: var(--transition); 
}

.notification-card.unread { 
    border-left: 4px solid var(--teal); 
    background: var(--teal-light); 
}

/* SCHEDULE PAGE LAYOUT */
.schedule-page {
    padding: 2rem 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.schedule-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-family: 'DM Sans', sans-serif;
}

.schedule-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin: 0;
}

.week-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.week-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.week-nav-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-light);
}

.week-range {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 80px;
    text-align: center;
}

.schedule-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1.5rem;
    align-items: start;
}

.calendar-wrap {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 56px repeat(7, 1fr);
    grid-template-rows: 60px repeat(24, 72px);
    position: relative;
}

.calendar-time-gutter {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.calendar-day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: var(--bg);
    gap: 0.2rem;
}

.day-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.day-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.today {
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.today-name, .today-num {
    color: var(--white);
}

.calendar-hour-label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg);
    font-weight: 500;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.calendar-cell {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
    cursor: pointer;
}

.calendar-cell:hover {
    background: var(--teal-light);
}

.session-block {
    position: absolute;
    border-radius: 20px;
    padding: 0.5rem 0.6rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
    min-height: 24px;
    z-index: 10;
}

.session-block.virtual {
    background: var(--teal);
}

.session-block.physical {
    background: var(--plum);
}

.session-block.session-completed {
    opacity: 0.6;
}

.session-block:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    z-index: 20;
}

.session-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    font-family: 'DM Sans', sans-serif;
}

.session-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.session-with {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    font-family: 'DM Sans', sans-serif;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    columns: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.upcoming-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.upcoming-item:last-child {
    border-bottom: none;
}

.upcoming-item:hover {
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    padding-left: 0.5rem;
}

.upcoming-accent {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    flex-shrink: 0;
}

.accent-teal {
    background: var(--teal);
}

.accent-red {
    background: var(--red);
}

.accent-plum {
    background: var(--plum);
}

.upcoming-info {
    flex: 1;
}

.upcoming-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.upcoming-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    font-family: 'DM Sans', sans-serif;
}

.join-btn {
    width: 34px;
    height: 34px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
}

.join-btn:hover {
    background: var(--teal-dark); transform: scale(1.1);
}

/* AVAILABILITY PAGE */
/* weekly availability grid */
.availability-grid {
    border-top: 1px solid var(--border);
}

.avail-grid-header {
    display: grid;
    grid-template-columns: 0 repeat(7, 1fr);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.avail-time-col {
    width: 0;
}

.avail-day-label {
    text-align: center;
    padding: 0.6rem 0.25rem;
    font-size: 0.72rem;
    font-weight:600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    border-left: 1px solid var(--border);
}

.avail-slots-wrap {
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 80px
}

.avail-day-col {
    border-left: 1px solid var(--border);
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 80px;
}

.avail-slot-pill {
    background: var(--teal-light);
    border: 1px solid var(--teal);
    border-radius: 6px;
    padding: 0.3rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.slot-time {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--teal);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2;
    flex: 1;
}

.slot-delete-btn {
    background: none;
    border: none;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.slot-delete-btn:hover { 
    opacity: 1; 
}
 
/* ---- Preset buttons ---- */
.preset-btn { 
    font-size: 0.78rem; 
}

.preset-btn:hover {
    background: var(--teal-light);
    border-color: var(--teal);
    color: var(--teal);
}


/* mobile vs large screen responsiveness */
@media (max-width: 1024px) {
    .schedule-layout {
        grid-template-columns: 1fr;
    }
    .schedule-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 3rem 0 2.5rem; }
    .hero-motif { display: none;}
    h2 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .schedule-page { padding: 1rem; }
    .schedule-title { font-size: 2.5rem; }
    .calendar-grid {
        grid-template-columns: 40px repeat(7, 1fr);
    }
}

/* utilities */
.text-teal { color: var(--teal) !important; }
.text-plum { color: var(--plum) !important; }
.text-gold { color: var(--gold) !important; }
.text-moss { color: var(--moss) !important; }
.text-muted { color: var(--text-muted) !important; }

/* animations */
@keyframes fadeInUp {
    fromv{ opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.card-grid .col:nth-child(1) { animation: fadeInUp 0.5s ease 0.05s both; }
.card-grid .col:nth-child(2) { animation: fadeInUp 0.5s ease 0.10s both; }
.card-grid .col:nth-child(3) { animation: fadeInUp 0.5s ease 0.15s both; }
.card-grid .col:nth-child(4) { animation: fadeInUp 0.5s ease 0.20s both; }
.card-grid .col:nth-child(5) { animation: fadeInUp 0.5s ease 0.25s both; }
.card-grid .col:nth-child(6) { animation: fadeInUp 0.5s ease 0.30s both; }