/* ===== CSS Variables ===== */
:root {
    --teal: #008080;
    --teal-dark: #006666;
    --teal-light: #20b2aa;
    --white: #ffffff;
    --off-white: #f9fffe;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --dark: #1a1a1a;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 128, 128, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 128, 128, 0.2);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--teal);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a.active {
    background: var(--white);
    color: var(--teal);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(0, 128, 128, 0.6), rgba(0, 128, 128, 0.6)), url('golf course.webp') center/cover no-repeat;
    padding: 12rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 240px;
    height: 240px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(rgba(0, 128, 128, 0.65), rgba(0, 128, 128, 0.65)), url('golfbanner.jpg') center/cover no-repeat;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* ===== Section Styling ===== */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.75rem;
    color: var(--teal);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--teal);
    display: inline-block;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center .section-title {
    border-bottom: none;
}

/* ===== Announcements Section ===== */
.announcements {
    background: var(--off-white);
}

.announcements-grid {
    display: grid;
    gap: 1.5rem;
}

.announcement-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.announcement-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(0, 128, 128, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.5rem;
}

.announcement-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.announcement-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.announcement-card p {
    color: var(--gray);
    line-height: 1.7;
}

.announcement-card.pinned {
    border-left-color: #ffd700;
    background: linear-gradient(to right, #fffef5, var(--white));
}

.pinned-badge {
    display: inline-block;
    background: #ffd700;
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* ===== Roster Page ===== */
.roster-section {
    margin-bottom: 4rem;
}

.roster-section:last-child {
    margin-bottom: 0;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.player-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.player-pill {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.35rem 0.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}


.player-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}

.player-name {
    font-weight: 600;
    color: var(--dark);
}

.player-year {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
}

.player-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.player-image {
    height: 180px;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-image span {
    font-size: 3rem;
    opacity: 0.5;
}

.player-info {
    padding: 1.25rem;
    text-align: center;
    background: var(--white);
}

.player-info h4 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.player-year {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
}

/* Coach Cards */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coach-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.coach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}

.coach-info {
    text-align: left;
}

.coach-info h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.coach-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.coach-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.coach-contact {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark);
}

.coach-contact a {
    color: var(--dark);
    text-decoration: none;
}

.coach-contact a:hover {
    text-decoration: underline;
}

.coach-sep {
    color: var(--gray);
}

/* ===== Results Page ===== */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--gray-light);
}

.result-date {
    text-align: center;
    min-width: 60px;
    padding: 0.75rem;
    background: var(--teal);
    border-radius: 8px;
    color: var(--white);
}

.result-date .month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-date .day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.result-details h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.result-details p {
    color: var(--gray);
    font-size: 0.9rem;
}

.result-score {
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    min-width: 120px;
}

.result-score.win {
    background: #d4edda;
    color: #155724;
}

.result-score.loss {
    background: #f8d7da;
    color: #721c24;
}

.result-score.tie {
    background: #fff3cd;
    color: #856404;
}

.score-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.score-numbers {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

/* ===== Calendar Page ===== */
.calendar-section {
    margin-bottom: 3rem;
}

.calendar-embed {
    margin-bottom: 3.5rem;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.calendar-embed-header {
    margin-bottom: 1rem;
}

.calendar-embed-header h3 {
    font-size: 1.35rem;
    color: var(--teal);
    margin-bottom: 0.3rem;
}

.calendar-embed-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.calendar-embed-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.calendar-embed-frame iframe {
    width: 100%;
    height: 820px;
    border: 0;
}

/* ===== Coach Login Page ===== */
.coach-login {
    background: var(--off-white);
}

.login-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    text-align: center;
}

.login-icon {
    font-size: 2rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.login-card h2 {
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.login-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.login-card label {
    display: block;
    text-align: left;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.login-card input {
    width: 100%;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    margin-bottom: 1.2rem;
    outline: none;
    transition: var(--transition);
}

.login-card input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}

.login-button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.login-button:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-msg {
    margin-top: 1rem;
    font-size: 0.85rem;
    min-height: 20px;
    color: #d14343;
}

.login-msg.success {
    color: #2f855a;
}

/* ===== Schedule Highlights ===== */
.schedule {
    background: var(--off-white);
}

.schedule-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.4rem;
}

.schedule-month {
    margin-bottom: 2.5rem;
}

.schedule-month h3 {
    font-size: 1.2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.schedule-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.schedule-date {
    font-weight: 600;
    color: var(--teal-dark);
    min-width: 110px;
}

.schedule-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.schedule-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.schedule-tag {
    margin-left: auto;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-tag.tournament {
    background: #fff2c5;
    color: #8a6a00;
}

.schedule-tag.event {
    background: #e0f7f7;
    color: var(--teal-dark);
}

.schedule-tag.game {
    background: rgba(0, 128, 128, 0.12);
    color: var(--teal);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
}

.schedule-tag.home-game {
    background: rgba(0, 128, 128, 0.12);
    color: var(--teal);
}

.calendar-month {
    font-size: 1.25rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    padding-bottom: 0.25rem;
}

.calendar-cell {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-light);
    padding: 0.75rem;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
}

.calendar-cell:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.calendar-cell.empty {
    background: transparent;
    border: 1px dashed var(--gray-light);
    box-shadow: none;
}

.calendar-cell.empty:hover {
    border-color: var(--gray-light);
    box-shadow: none;
}

.calendar-day {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--teal);
}

.calendar-event {
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    background: var(--off-white);
    border-left: 3px solid var(--teal);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.calendar-event .event-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.calendar-event .event-meta {
    font-size: 0.7rem;
    color: var(--gray);
}

.calendar-event.game {
    border-left-color: var(--teal);
    background: rgba(0, 128, 128, 0.08);
}

.calendar-event.practice {
    border-left-color: var(--gray);
    background: #f5f5f5;
}

.calendar-event.tournament {
    border-left-color: #d9a400;
    background: #fff7d6;
}

.calendar-event.meeting {
    border-left-color: var(--teal-dark);
    background: #e0f7f7;
}

/* ===== Contact Page ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-icon.instagram-icon {
    background: var(--teal);
}

.instagram-link {
    color: var(--dark);
    text-decoration: none;
}

.instagram-link:hover {
    text-decoration: underline;
}

.contact-text .value a {
    color: var(--dark);
    text-decoration: none;
}

.contact-text .value a:hover {
    text-decoration: underline;
}

.contact-text .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
}

.contact-text .value {
    color: var(--dark);
    font-weight: 500;
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.contact-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    opacity: 0.9;
}

/* ===== Coach Dashboard ===== */
.coach-dashboard {
    background: var(--off-white);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-header h2 {
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.dashboard-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.dashboard-user {
    text-align: right;
}

.dashboard-user .user-email {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.dashboard-logout {
    border: 1px solid var(--teal);
    background: transparent;
    color: var(--teal);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.dashboard-logout:hover {
    background: var(--teal);
    color: var(--white);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.dashboard-action {
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.dashboard-action:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.dashboard-form-panel {
    margin-bottom: 2rem;
}

.dashboard-compose {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
}

.dashboard-compose h3 {
    font-size: 1.2rem;
    color: var(--teal);
    margin-bottom: 1.2rem;
}

.dashboard-compose label {
    display: block;
    text-align: left;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.dashboard-compose label:first-of-type {
    margin-top: 0;
}

.dashboard-compose input,
.dashboard-compose textarea,
.dashboard-compose select {
    width: 100%;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    margin-bottom: 0.75rem;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.dashboard-compose textarea {
    min-height: 120px;
    resize: vertical;
}

.dashboard-compose input:focus,
.dashboard-compose textarea:focus,
.dashboard-compose select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}

.dashboard-compose-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard-post {
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.dashboard-post:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.dashboard-post:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-msg {
    font-size: 0.85rem;
    color: #2f855a;
    min-height: 20px;
}

.form-msg.err {
    color: #d14343;
}

.dashboard-section-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.dashboard-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--gray-light);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.dashboard-card-body {
    flex: 1;
}

.dashboard-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(0, 128, 128, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.6rem;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.dashboard-card-text {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.6;
}

.dashboard-card-date {
    font-size: 0.78rem;
    color: #8a8f98;
    margin-top: 0.7rem;
}

.dashboard-delete {
    background: transparent;
    border: 1px solid rgba(209, 67, 67, 0.35);
    color: #d14343;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.dashboard-delete:hover {
    background: rgba(209, 67, 67, 0.1);
}

.empty {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    padding: 2.5rem 0;
    font-style: italic;
}

.spinner {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Quick Links */
.quick-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.quick-links h3 {
    font-size: 1.1rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.links-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-link {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: var(--teal);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.quick-link:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background: var(--teal);
    padding: 2rem 0;
    margin-top: auto;
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--white);
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-motto {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .result-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .result-date {
        justify-self: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-image {
        order: -1;
    }
    
    .contact-logo {
        width: 150px;
        height: 150px;
    }
    
    .calendar-embed {
        padding: 1.1rem;
    }

    .calendar-embed-frame iframe {
        height: 620px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .schedule-tag {
        margin-left: 0;
    }

    .calendar-grid {
        gap: 0.5rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-link {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .calendar-cell {
        min-height: 90px;
        padding: 0.6rem;
    }

    .calendar-weekday {
        font-size: 0.7rem;
    }

    .calendar-event .event-title {
        font-size: 0.75rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-user {
        text-align: left;
    }

    .dashboard-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-compose-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-card {
        flex-direction: column;
        align-items: flex-start;
    }
}