* {
    box-sizing: border-box;
}

html {
    font-size: 12px;
    zoom: 0.9;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    font-size: 12px;
}

/* ===== Login Page ===== */
body.login-page {
    margin: 0;
    min-height: 100vh;
    background: #f4f4f4;
}


.login-container h2,
h2 {
    text-align: center;
    font-size: 16px;
    margin: 8px 0 14px 0;
}

/* ===== Forms ===== */
form {
    text-align: left;
}

label {
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 12px;
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 7px 9px;
    margin-top: 4px;
    margin-bottom: 9px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font: inherit;
    font-size: 12px;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== Admin Layout ===== */
.admin-body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #eef1f5;
    min-height: 100vh;
    overflow-y: auto;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 160px;
    height: 100vh;

    /* 🔥 Premium maroon gradient */
    background: linear-gradient(180deg, #500909, #3b0707);

    color: #ffffff;
    padding-top: 20px;
    overflow-y: auto;
}

/* Logo */
.sidebar .logo {
    width: 130px !important;
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: 10px auto 18px auto;
}

/* Menu links */
.sidebar a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    font-size: 13px;
    transition: all 0.2s ease;
}

/* Hover effect */
.sidebar a:hover {
    background: #500b0b;
}

/* Active menu */
.sidebar a.active {
    background: #2d2e4e;

    /* ✨ Gold accent line */
    border-left: 4px solid #fbbf24;

    /* slight bold feel */
    font-weight: 600;
}

.main-content {
    margin-left: 160px;
    min-height: 100vh;
    overflow: visible !important;
}

/* ===== Topbar ===== */
.topbar {
    background: linear-gradient(90deg, #1f1b1d, #2b2426);
    color: #fff;
    padding: 8px 14px;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.topbar-left,
.topbar-right,
.brand-wrap,
.brand-text-wrap {
    display: flex;
    align-items: center;
}

.topbar-right {
    gap: 10px;
    position: relative;
}

.brand-text-wrap {
    gap: 8px;
}

.topbar-title,
.topbar .brand-main {
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1;
}



.top-icon-btn,
.notification-bell,
.theme-toggle,
.notification-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    font-size: 13px;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.top-icon-btn:hover,
.notification-bell:hover,
.theme-toggle:hover,
.notification-btn:hover {
    background: rgba(255,255,255,0.22);
}

.notification-wrapper,
.user-menu-wrapper {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2b2426;
}

.notification-dropdown,
.user-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    background: #fff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    z-index: 2000;
}

.notification-dropdown {
    width: 280px;
}

.user-dropdown {
    width: 200px;
}

.notification-header,
.notification-item,
.notification-footer,
.user-dropdown-item {
    padding: 12px 14px;
    font-size: 13px;
    border-bottom: 1px solid #f3f3f3;
}

.notification-header {
    font-weight: 400;
}

.notification-footer {
    text-align: center;
    font-weight: 600;
    background: #fafafa;
}

.notification-item:hover,
.user-dropdown-item:hover {
    background: #f8f8f8;
}

.notification-item-link,
.user-dropdown-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.user-badge {
    background: rgba(255,255,255,0.14);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* ===== Main Content ===== */
.content-area {
    padding: 14px;
    overflow: visible !important;
}

.dashboard-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
    color: #1f2937;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.top-actions,
.invoice-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== Containers ===== */
.page-container {
    width: 100%;
    margin: 0;
    background: white;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: visible !important;
}

.form-container {
    width: 360px;
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===== Global Button System ===== */
.btn,
button.btn,
a.btn,
.primary-btn,
.calendar-btn,
.table-btn {
    display: inline-block;
    min-width: 105px;
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* 1st button: Orange */
.btn-primary,
.btn-event,
.primary-btn,
.detail-btn {
    background: #f59e0b;
    color: #fff;
}

.btn-primary:hover,
.btn-event:hover,
.primary-btn:hover,
.detail-btn:hover {
    background: #d97706;
}

/* 2nd button: Green */
.btn-success,
.btn-income {
    background: #22c55e;
    color: #fff;
}

.btn-success:hover,
.btn-income:hover {
    background: #15803d;
}

/* 3rd button: Dark Grey */
.btn-secondary,
.calendar-btn {
    background: #374151;
    color: #fff;
}

.btn-secondary:hover,
.calendar-btn:hover {
    background: #1f2937;
}

/* Delete special button */
.btn-danger,
.btn-expense,
.delete-btn {
    background: #dc2626;
    color: #fff;
}

.btn-danger:hover,
.btn-expense:hover,
.delete-btn:hover {
    background: #991b1b;
}

/* Edit special button */
.edit-btn {
    background: #2563eb;
    color: #fff;
}

.edit-btn:hover {
    background: #1d4ed8;
}

.table-btn {
    min-width: auto;
    padding: 6px 10px;
    font-size: 12px;
    margin: 2px;
}

/* ===== Dashboard Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-left: 5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.15);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.card-label {
    font-size: 11px;
    color: #8b95a7;
    margin-bottom: 4px;
}

.card-value {
    font-size: 14px;
    font-weight: 500;
    color: #2f3b4a;
    line-height: 1.2;
}

/* Card Colors */
.dashboard-card.blue {
    background: #eef7ff;
    border-left-color: #3b82f6;
}
.dashboard-card.blue .card-icon {
    background: #dbeafe;
    color: #2563eb;
}

.dashboard-card.green {
    background: #eefbf3;
    border-left-color: #22c55e;
}
.dashboard-card.green .card-icon {
    background: #dcfce7;
    color: #16a34a;
}

.dashboard-card.purple {
    background: #f5f3ff;
    border-left-color: #8b5cf6;
}
.dashboard-card.purple .card-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.dashboard-card.orange {
    background: #fffbeb;
    border-left-color: #f59e0b;
}
.dashboard-card.orange .card-icon {
    background: #fef3c7;
    color: #d97706;
}

.dashboard-card.teal {
    background: #f0fdfa;
    border-left-color: #14b8a6;
}
.dashboard-card.teal .card-icon {
    background: #ccfbf1;
    color: #0f766e;
}

.dashboard-card.red {
    background: #fef2f2;
    border-left-color: #ef4444;
}
.dashboard-card.red .card-icon {
    background: #fee2e2;
    color: #dc2626;
}

.dashboard-card.dark {
    background: #f9fafb;
    border-left-color: #374151;
}
.dashboard-card.dark .card-icon {
    background: #e5e7eb;
    color: #111827;
}

/* ===== Alerts / Quick Links ===== */
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.alert-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.alert-card h3 {
    font-size: 14px;
    margin: 0 0 12px 0;
    color: #111827;
}

.alert-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    line-height: 1.5;
}

.alert-item:last-child {
    border-bottom: none;
}

.quick-links {
    margin-top: 18px;
    background: white;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.quick-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #d98200;
    font-weight: bold;
}

/* ===== Tables ===== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.admin-table th,
.admin-table td {
    border: 1px solid #e5e7eb;
    padding: 7px 9px;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
}

.admin-table th {
    background: #374151;
    color: #fff;
    font-weight: 700;
}

.admin-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.admin-table tbody tr:hover {
    background: #f3f4f6;
}

/* ===== Calendar ===== */
.calendar-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    padding: 12px;
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th {
    background: #364152;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

.calendar-table td {
    border: 1px solid #e5e7eb;
    vertical-align: top;
    height: 90px;
    padding: 6px;
    background: #fff;
}

.empty-cell {
    background: #f8f9fb;
}

.calendar-day {
    position: relative;
}

.day-number {
    display: inline-block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 13px;
}

.available-slot {
    margin-top: 8px;
    color: #9aa3af;
    font-size: 11px;
}

.calendar-event {
    display: block;
    text-decoration: none;
    padding: 4px 6px;
    margin-top: 5px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.4;
    border-left: 4px solid #16a34a;
}

.calendar-event.booked {
    background: #dcfce7;
    color: #166534;
    border-left-color: #16a34a;
}

.calendar-event.inquiry {
    background: #fef3c7;
    color: #92400e;
    border-left-color: #f59e0b;
}

.calendar-event.cancelled {
    background: #fee2e2;
    color: #991b1b;
    border-left-color: #dc2626;
}

.calendar-event:hover {
    opacity: 0.94;
}

.event-customer {
    font-weight: 700;
    margin-bottom: 2px;
}

.event-venue {
    font-style: italic;
    margin-bottom: 2px;
}

.event-status {
    font-size: 10px;
    font-weight: 600;
}

/* ===== Event Booking Layout ===== */
.event-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.event-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px;
    align-items: start;
    overflow: visible !important;
}

.event-form-col {
    width: 100%;
    min-width: 0;
}

.event-form-right {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 18px;
    align-items: start;
}

.event-form-summary-col {
    position: relative;
    align-self: start;
    overflow: visible !important;
}

.sticky-summary-wrap,
.sticky-summary-box {
    position: sticky !important;
    top: 100px;
    z-index: 20;
    align-self: start;
}

.addon-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.triple-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.triple-input-grid label {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 12px;
}

.alcohol-header {
    display: grid;
    grid-template-columns: 2fr 0.7fr 1fr 1fr;
    gap: 10px;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
    color: #374151;
}

/* ===== Agreement / Invoice ===== */
h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
    font-size: 14px;
}

.agreement-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    font-size: 14px;
    line-height: 1.65;
    color: #222;
}

.agreement-box h2 {
    font-size: 20px;
    letter-spacing: 1px;
}

.agreement-box h3 {
    font-size: 16px;
    font-weight: 600;
}
/* ===== AGREEMENT COMPACT FIX ===== */
.agreement-box p {
    margin: 4px 0;
}

.agreement-box .section {
    margin-top: 12px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    margin-bottom: 24px;
    table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #cfd6df;
    padding: 8px 8px;
    font-size: 12px;
    vertical-align: middle;
}

.pricing-table th {
    background: #374151;
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.pricing-table td {
    background: #fff;
}

.col-sno { width: 8%; }
.col-desc { width: 30%; }
.col-cat { width: 18%; }
.col-qty { width: 10%; }
.col-rate { width: 17%; }
.col-amt { width: 17%; }

.center-cell {
    text-align: center;
}

.right-cell {
    text-align: right;
    white-space: nowrap;
}

.agreement-totals-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.agreement-totals {
    width: 320px;
    border-collapse: collapse;
}

.agreement-totals td {
    border: 1px solid #cfd6df;
    padding: 9px 11px;
    font-size: 12px;
    background: #fff;
}

.agreement-totals td:first-child {
    font-weight: 600;
}

.agreement-totals .balance-row td {
    font-weight: 700;
    background: #f3f4f6;
}

.print-actions {
    margin: 20px 0 0 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.invoice-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.invoice-section {
    flex: 1;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
}

.invoice-section:last-child {
    margin-left: auto;
}

#live-pricing-box p {
    margin: 8px 0;
}



/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .event-form-grid-3 {
        grid-template-columns: 1fr 1fr !important;
    }

    .event-form-summary-col {
        grid-column: span 2;
    }

    .sticky-summary-wrap,
    .sticky-summary-box {
        position: static !important;
    }
}

@media (max-width: 900px) {
    .content-area > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .event-form-grid,
    .event-form-grid-3,
    .triple-input-grid {
        grid-template-columns: 1fr !important;
    }

    .event-form-summary-col {
        grid-column: span 1;
    }

    .event-form-right {
        grid-template-rows: auto;
    }

    .sticky-summary-wrap,
    .sticky-summary-box {
        position: static !important;
        top: auto;
    }

    .invoice-grid {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar .logo {
        width: 120px !important;
    }

    .main-content {
        margin-left: 0;
    }

    .content-area {
        padding: 14px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .form-container,
    .login-container {
        width: 100%;
        max-width: 320px;
    }

    .topbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .topbar-right {
        width: 100%;
        justify-content: flex-end;
    }

    .agreement-totals {
        width: 100%;
    }
}

/* ===== Print ===== */
@media print {
    .sidebar,
    .topbar,
    .dashboard-header,
    .top-actions,
    .calendar-btn,
    .btn,
    form {
        display: none !important;
    }

    .main-content {
        margin: 0 !important;
        width: 100% !important;
    }

    .content-area {
        padding: 0 !important;
    }

    .page-container,
    .agreement-box {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    table th,
    table td {
        border: 1px solid #000 !important;
    }

    table th {
        background: #f3f4f6 !important;
        color: black !important;
    }

    .agreement-box {
        font-size: 14pt;
        padding: 20px;
    }
}
/* ======================================
   FORCE UNIFORM BUTTON STYLE (GLOBAL FIX)
====================================== */

/* ALL buttons + links that act like buttons */
button,
a[class*="btn"],
a[class*="Btn"],
.primary-btn,
.calendar-btn,
.table-btn,
.detail-btn,
.edit-btn,
.delete-btn {

    display: inline-block !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    min-width: 110px !important;
    text-align: center !important;
}

/* ===== COLOR SYSTEM ===== */

/* ORANGE (default buttons like Search, Detail, New) */
button,
.primary-btn,
.detail-btn {
    background: #f59e0b !important;
    color: #fff !important;
}
button:hover,
.primary-btn:hover,
.detail-btn:hover {
    background: #d97706 !important;
}

/* GREEN (positive actions like Print, Save) */
.btn-income,
.success-btn {
    background: #22c55e !important;
    color: #fff !important;
}
.btn-income:hover,
.success-btn:hover {
    background: #15803d !important;
}

/* DARK GREY (Reset, Cancel, Back) */
.calendar-btn,
.btn-secondary {
    background: #374151 !important;
    color: #fff !important;
}
.calendar-btn:hover,
.btn-secondary:hover {
    background: #1f2937 !important;
}

/* RED (Delete only) */
.delete-btn,
.btn-expense {
    background: #dc2626 !important;
    color: #fff !important;
}
.delete-btn:hover,
.btn-expense:hover {
    background: #991b1b !important;
}

/* BLUE (Edit optional) */
.edit-btn {
    background: #680d0d !important;
    color: #fff !important;
}
.edit-btn:hover {
    background: #e62a2a !important;
}
/* ======================================
   FORCE SAME HEIGHT FOR ALL BUTTONS
====================================== */

button,
a[class*="btn"],
.primary-btn,
.calendar-btn,
.table-btn,
.detail-btn,
.edit-btn,
.delete-btn {

    height: 36px !important;
    line-height: 36px !important;
    padding: 0 14px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 13px !important;
    border-radius: 6px !important;
}
body {
    background: #eef1f5 !important;
    color: #111 !important;
}
/* ===== FIX DASHBOARD CHART SIZE ===== */
.charts-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.chart-card {
    height: 330px !important;
    overflow: hidden !important;
}

.chart-card canvas {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
}

#paymentChart {
    height: 230px !important;
    max-height: 230px !important;
}

@media (max-width: 900px) {
    .charts-grid {
        grid-template-columns: 1fr !important;
    }

    .chart-card {
        height: auto !important;
    }
}
/* ===== SAFE COMPACT UI - NO ZOOM ===== */

.sidebar {
    width: 145px !important;
}

.main-content {
    margin-left: 145px !important;
}

.sidebar .logo {
    width: 115px !important;
    margin: 8px auto 14px auto !important;
}

.sidebar a {
    padding: 8px 12px !important;
    font-size: 12px !important;
}

.topbar {
    min-height: 58px !important;
    padding: 8px 14px !important;
}

.content-area {
    padding: 12px !important;
}

.dashboard-card {
    padding: 8px 10px !important;
}

.alert-card,
.page-container {
    padding: 12px !important;
}

.btn,
button,
a[class*="btn"],
.primary-btn,
.calendar-btn,
.table-btn {
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
}
/* ===== FINAL SIDEBAR HEIGHT FIX ===== */

body {
    margin: 0 !important;
    background: #eef1f5 !important;
}

/* sidebar should cover full page, not only screen */
.sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 100vh !important;
    width: 145px !important;
    overflow-y: auto !important;
    background: linear-gradient(180deg, #500909, #3b0707) !important;
}

/* ===== ADMIN FOOTER (FINAL CLEAN DESIGN) ===== */
.admin-footer {
    width: 100%;
    text-align: center;
    margin: 30px auto 15px auto;
    padding: 15px 0;
    color: #666;
    font-size: 14px;
}

/* Gold divider line */
.admin-footer .footer-divider {
    width: 120px;
    height: 2px;
    margin: 0 auto 10px auto;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* Text styling */
.admin-footer p {
    margin: 0;
    text-align: center;
    letter-spacing: 0.3px;
}
/* ===== ELITE NOTIFICATION BELL ===== */
.notification-bell,
.notification-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #3a3032, #211b1d) !important;
    color: #fbbf24 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.notification-bell:hover,
.notification-btn:hover {
    background: linear-gradient(145deg, #4a3a3c, #251d1f) !important;
    transform: translateY(-1px);
}

/* Bell icon */
.notification-bell i,
.notification-bell span,
.notification-btn i,
.notification-btn span {
    font-size: 17px !important;
    line-height: 1 !important;
}

/* Red number badge */
.notification-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border: 2px solid #241c1f !important;
    box-shadow: 0 3px 8px rgba(239,68,68,0.45) !important;
}

/* ===== TOPBAR MARQUEE (SOFT WATERMARK STYLE) ===== */

.topbar {
    position: relative;
    overflow: hidden;
}

/* container */
.topbar-marquee {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    pointer-events: none;
    overflow: hidden;
}

/* moving text */
.topbar-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeMove 18s linear infinite;

    font-size: 22px;
    font-weight: 600;

    /* VERY FADED STYLE */
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: 2px;
}

/* animation */
@keyframes marqueeMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* Topbar must be above everything */
.topbar {
    position: relative;
    z-index: 9999;
    overflow: visible !important;
}

/* Fix wrappers */
.notification-wrapper,
.user-menu-wrapper {
    position: relative;
}

/* Notification dropdown */
.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 10000;
    display: none;

    background: #fff;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* User dropdown */
.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 10000;
    display: none;

    background: #fff;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Prevent parent clipping */
.main-content,
.content-area {
    overflow: visible !important;
}

.login-page {
    min-height: 100vh;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-center-box {
    width: 380px;
    max-width: 95%;
}

.login-container {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.login-logo {
    display: block;
    width: 140px;
    margin: 0 auto 10px auto;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 14px;
}

.login-container label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 300;
}

.login-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.login-btn:hover {
    background: #d97706;
}

.forgot-link {
    text-align: center;
    margin-top: 14px;
}

.forgot-link a {
    color: #f59e0b;
    text-decoration: none;
    font-size: 14px;
}

.login-error {
    color: red;
    text-align: center;
    font-weight: 500;
}

.login-footer {
    margin-top: 22px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}
.checklist-section .check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 9px 0;
    font-size: 14px;
}

.checklist-section input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media print {
    .checklist-section .check-item {
        font-size: 8.8pt !important;
        margin: 3px 0 !important;
    }

    .checklist-section input[type="checkbox"] {
        width: 12px !important;
        height: 12px !important;
    }
}
@media print {
    .no-print {
        display: none !important;
    }
}
<style>
.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: start;
}

.license-side-box {
    width: auto !important;
    max-width: 100% !important;
    position: sticky;
    top: 95px;
}

@media (max-width: 1000px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .license-side-box {
        position: static;
    }
}
</style>