@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1e3a5f;         /* Deep slate/navy */
    --primary-hover: #152943;
    --primary-light: #eef2f6;
    --secondary: #d97706;       /* Soft amber */
    --secondary-hover: #b45309;
    --accent: #2563eb;          /* High-end active state blue */
    --warm-white: #fdfaf2;      /* Warm white base background */
    --creamy-white: #ffffff;    /* Creamy/pure white for cards/widgets */
    --navbar-bg: #fdfbf7;       /* Creamy white for navbar */
    --text-dark: #2c2a27;       /* Rich charcoal brown/grey */
    --text-muted: #747167;      /* Warm muted text */
    --border-color: #e8e4d8;    /* Softer warm grey borders */
    --card-shadow: 0 10px 30px -5px rgba(44, 42, 39, 0.05), 0 1px 3px rgba(44, 42, 39, 0.02);
    --card-shadow-hover: 0 20px 40px -10px rgba(44, 42, 39, 0.1), 0 2px 8px rgba(44, 42, 39, 0.04);
}

body {
    font-family: 'Instrument Sans', 'Outfit', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--warm-white);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--warm-white);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Navbar */
.navbar {
    background-color: var(--primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}
.navbar-brand {
    color: var(--creamy-white) !important;
    font-weight: 700;
    font-size: 1.25rem;
}
.navbar-brand span {
    color: var(--creamy-white) !important;
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Sidebar */
.sidebar {
    background-color: var(--primary) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 100vh;
    padding-top: 1.5rem;
}
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    margin: 0.15rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}
.sidebar .nav-link.active {
    background-color: var(--secondary) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cards & Widgets */
.card, .dashboard-card {
    background-color: var(--creamy-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.card:hover, .dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}
.card-header {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Inputs & Form Controls */
.form-control, .form-select {
    background-color: var(--creamy-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
    background-color: var(--creamy-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
    color: var(--text-dark);
}
.form-control:read-only {
    background-color: var(--warm-white);
    opacity: 0.85;
}

/* Buttons */
.btn {
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}
.btn-secondary {
    background-color: var(--text-muted);
    border-color: var(--text-muted);
    color: white;
}
.btn-secondary:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Table styling */
.table {
    --bs-table-bg: var(--creamy-white);
    --bs-table-striped-bg: rgba(44, 42, 39, 0.01);
    --bs-table-hover-bg: rgba(30, 58, 95, 0.02);
    border-color: var(--border-color);
    color: var(--text-dark);
}
.table th {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
}

/* Badges */
.badge {
    padding: 0.45em 0.75em;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 58, 95, 0.85), rgba(13, 58, 95, 0.95));
    z-index: -1;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: #e2e8f0;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}
.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover {
    color: white;
}
/* Admin application layout */
.container-fluid > .row {
    align-items: flex-start;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    align-self: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    z-index: 1020;
}

.admin-sidebar .nav {
    padding-bottom: 1rem;
}

.admin-mobile-menu-toggle,
.sidebar-close-button,
.admin-sidebar-backdrop {
    display: none;
}

/* Prevent wide cards, tables and long text from forcing the page wider. */
.sidebar + .col-md-10,
.sidebar + main,
main.col-md-10 {
    min-width: 0;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media (max-width: 991.98px) {
    .sidebar .nav-link {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        margin-left: 0.45rem;
        margin-right: 0.45rem;
    }

    .master-board {
        gap: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    body {
        display: block;
        overflow-x: hidden;
    }

    body.admin-sidebar-open {
        overflow: hidden;
    }

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .container-fluid > .row {
        min-height: 100vh;
        min-height: 100dvh;
        margin-left: 0;
        margin-right: 0;
    }

    .admin-mobile-menu-toggle {
        position: fixed;
        top: max(0.7rem, env(safe-area-inset-top));
        left: max(0.75rem, env(safe-area-inset-left));
        z-index: 1040;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 44px;
        padding: 0.55rem 0.85rem;
        border: 0;
        border-radius: 10px;
        background: var(--primary);
        color: #fff;
        font: inherit;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    }

    .admin-mobile-menu-toggle:focus-visible,
    .sidebar-close-button:focus-visible {
        outline: 3px solid rgba(37, 99, 235, 0.35);
        outline-offset: 2px;
    }

    .admin-mobile-menu-toggle .bi {
        font-size: 1.35rem;
        line-height: 1;
    }

    .admin-sidebar {
        position: fixed !important;
        inset: 0 auto 0 0;
        width: min(86vw, 320px) !important;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        transform: translateX(-105%);
        transition: transform 0.24s ease;
        box-shadow: 18px 0 42px rgba(15, 23, 42, 0.28);
        z-index: 1050;
        padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
        will-change: transform;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    .admin-sidebar > .p-4 {
        padding: 1.15rem !important;
        padding-right: 3.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .admin-sidebar .nav-link {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 0.68rem 0.9rem;
        margin: 0.12rem 0.55rem;
    }

    .sidebar-close-button {
        position: absolute;
        top: max(0.7rem, env(safe-area-inset-top));
        right: 0.7rem;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1.1rem;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1045;
        display: block;
        background: rgba(15, 23, 42, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.24s ease, visibility 0.24s ease;
        backdrop-filter: blur(2px);
    }

    .admin-sidebar-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sidebar + .col-md-10,
    .sidebar + main,
    main.col-md-10 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 4.65rem 0.9rem 1.5rem !important;
        overflow-x: hidden;
    }

    h1, .h1 {
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.15;
    }

    h2, .h2 {
        font-size: 1.45rem;
    }

    h3, .h3 {
        font-size: 1.2rem;
    }

    .card,
    .dashboard-card,
    .profile-hero,
    .users-hero,
    .report-toolbar {
        border-radius: 11px;
    }

    .card:hover,
    .dashboard-card:hover {
        transform: none;
    }

    .card-header {
        padding: 0.9rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .profile-hero,
    .users-hero {
        padding: 1.1rem !important;
    }

    .profile-avatar,
    .profile-initials {
        width: 96px !important;
        height: 96px !important;
    }

    .profile-initials {
        font-size: 1.9rem !important;
    }

    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px;
    }

    textarea.form-control {
        min-height: auto;
    }

    .btn {
        min-height: 42px;
        padding: 0.58rem 0.9rem;
    }

    .btn-sm {
        min-height: 38px;
        padding: 0.45rem 0.68rem;
    }

    main .d-flex.justify-content-between,
    main .d-flex.align-items-center.justify-content-between {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    main .d-flex.justify-content-between > .btn,
    main .d-flex.align-items-center.justify-content-between > .btn {
        max-width: 100%;
    }

    .row.g-3,
    .row.g-4 {
        --bs-gutter-y: 0.9rem;
    }

    .table-responsive {
        width: 100%;
        min-height: 0 !important;
        border-radius: 8px;
        overflow-x: auto;
    }

    .table-responsive > .table {
        min-width: 680px;
        margin-bottom: 0;
    }

    .table th,
    .table td {
        padding: 0.65rem 0.7rem;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .action-buttons {
        min-width: 195px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.2rem;
        justify-content: center;
    }

    .modal-dialog {
        width: auto;
        max-width: none;
        margin: 0.75rem;
    }

    .modal-content {
        border-radius: 12px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .modal-footer {
        gap: 0.5rem;
    }

    .modal-footer .btn {
        flex: 1 1 auto;
        margin: 0;
    }

    .assist-tabs-wrap {
        display: block !important;
        width: 100%;
        overflow-x: auto;
    }

    .assist-tabs {
        display: flex;
        width: max-content;
        min-width: 100%;
    }

    .assist-tabs .nav-link {
        min-height: 44px;
        padding: 0.55rem 0.8rem;
    }

    .service-status-controls {
        align-items: stretch !important;
    }

    .service-status-controls .btn {
        flex: 1 1 120px;
    }

    .conversation {
        max-height: 46vh !important;
    }

    .audio-controls {
        right: 0.75rem !important;
        bottom: 0.75rem !important;
        left: 0.75rem;
        display: flex;
        justify-content: center;
        padding: 0.65rem !important;
    }

    .master-board {
        height: auto !important;
        min-height: 0;
        flex-direction: column;
        gap: 1rem !important;
    }

    .master-serving,
    .master-grid {
        width: 100%;
        padding: 1.1rem !important;
    }

    .m-serving-ticket {
        font-size: clamp(3rem, 18vw, 5rem) !important;
        overflow-wrap: anywhere;
    }

    .m-serving-counter {
        font-size: 1.35rem !important;
        padding: 0.45rem 1rem !important;
    }

    .m-counter-grid {
        grid-template-columns: 1fr !important;
    }

    .ticket-display {
        padding: 1.25rem !important;
    }

    .ticket-number {
        font-size: clamp(2.25rem, 13vw, 4rem) !important;
        overflow-wrap: anywhere;
    }

    .report-toolbar {
        padding: 0.9rem !important;
    }

    .report-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .report-tabs .nav-link {
        white-space: nowrap;
    }

    .metric-card {
        min-height: 102px !important;
    }

    .metric-value {
        font-size: 1.65rem !important;
    }

    .url-form {
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    .url-form input,
    .url-form button {
        width: 100%;
        flex: 1 1 100% !important;
    }
}

@media (max-width: 380px) {
    .admin-mobile-menu-toggle span {
        display: none;
    }

    .admin-mobile-menu-toggle {
        width: 44px;
        padding-left: 0;
        padding-right: 0;
    }

    .sidebar + .col-md-10,
    .sidebar + main,
    main.col-md-10 {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-sidebar,
    .admin-sidebar-backdrop {
        transition: none;
    }
}

@media print {
    .admin-mobile-menu-toggle,
    .admin-sidebar-backdrop,
    .sidebar-close-button {
        display: none !important;
    }
}

/* ==========================================================
   Subtle admin UI refinement — same KSU theme/functionality
   ========================================================== */
@media (min-width: 768px) {
    .admin-sidebar {
        width: 270px !important;
        max-width: 270px;
        flex: 0 0 270px;
    }
    .sidebar + .col-md-10,
    .sidebar + main,
    main.col-md-10 {
        width: calc(100% - 270px);
        max-width: calc(100% - 270px);
        flex: 1 1 calc(100% - 270px);
        padding: 1.45rem 1.55rem 2rem !important;
    }
}

.admin-sidebar > .p-4 {
    padding: 1.15rem 1rem !important;
    margin-bottom: 0.35rem !important;
}
.admin-sidebar .nav {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
}
.admin-sidebar .nav-link {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0.62rem 0.9rem;
    margin: 0.1rem 0.4rem;
    border-radius: 9px !important;
}
.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
    flex: 0 0 20px;
}
.admin-sidebar .nav-link.active {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

main h1,
main .h1 {
    font-size: clamp(1.75rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}
main h2,
main .h2 {
    letter-spacing: -0.018em;
}
main > h1:first-child,
main > .d-flex:first-child h1 {
    margin-bottom: 1rem;
}

.card,
.dashboard-card {
    border-radius: 12px;
    box-shadow: 0 6px 20px -8px rgba(44, 42, 39, 0.18), 0 1px 3px rgba(44, 42, 39, 0.03);
}
.card:hover {
    transform: none;
    box-shadow: 0 8px 24px -8px rgba(44, 42, 39, 0.2), 0 1px 4px rgba(44, 42, 39, 0.04);
}
.dashboard-card:hover {
    transform: translateY(-2px);
}
.card-header {
    padding: 0.92rem 1.1rem;
    font-size: 0.98rem;
}
.card-body {
    padding: 1.1rem;
}

.form-label {
    font-weight: 600;
    color: #3c3934;
    margin-bottom: 0.38rem;
}
.form-control,
.form-select {
    padding: 0.58rem 0.8rem;
    border-radius: 8px;
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.09);
}
.btn {
    padding: 0.57rem 1.05rem;
    border-radius: 8px;
}
.btn-sm {
    padding: 0.4rem 0.68rem;
    border-radius: 7px;
}

.table {
    margin-bottom: 0;
}
.table th,
.table td {
    padding: 0.72rem 0.7rem;
    vertical-align: middle;
}
.table thead th {
    background: #faf9f5;
    border-bottom-width: 1px;
    white-space: nowrap;
}
.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(30, 58, 95, 0.025);
}
.badge {
    padding: 0.4em 0.68em;
    border-radius: 6px;
}

.alert {
    border-radius: 10px;
    border-width: 1px;
}
.modal-content {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}
.modal-header,
.modal-footer {
    background: #fffdf9;
}
.modal-title {
    font-weight: 700;
    letter-spacing: -0.015em;
}

@media (max-width: 767.98px) {
    .admin-mobile-menu-toggle {
        min-height: 42px;
        border-radius: 9px;
        padding: 0.48rem 0.72rem;
    }
    .sidebar + .col-md-10,
    .sidebar + main,
    main.col-md-10 {
        padding: 4.4rem 0.78rem 1.25rem !important;
    }
    .admin-sidebar > .p-4 {
        padding: 1rem 3.4rem 0.95rem 1rem !important;
    }
    main h1,
    main .h1 {
        font-size: 1.7rem;
    }
    .card-header {
        padding: 0.82rem 0.9rem;
    }
    .card-body {
        padding: 0.9rem;
    }
    .table th,
    .table td {
        padding: 0.58rem 0.62rem;
    }
    .modal-dialog {
        margin: 0.55rem;
    }
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.85rem;
    }
}

/* ==========================================================
   Admin content-column layout fix
   The shared sidebar include outputs its JavaScript after the sidebar element,
   so adjacent-sibling selectors are not reliable. Target the main Bootstrap
   content column as a direct row child instead so it stays beside the sticky
   sidebar instead of wrapping underneath it.
   ========================================================== */
@media (min-width: 768px) {
    .container-fluid > .row > .col-md-10:not(.sidebar) {
        width: calc(100% - 270px) !important;
        max-width: calc(100% - 270px) !important;
        flex: 0 0 calc(100% - 270px) !important;
        min-width: 0;
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .container-fluid > .row > .col-md-10:not(.sidebar) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 0;
        margin-left: 0 !important;
        padding: 4.4rem 0.78rem 1.25rem !important;
    }
}

/* ==========================================================
   GLOBAL REAL-TIME PRIORITY BROADCAST TOAST
   ========================================================== */
.global-broadcast-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 390px;
    max-width: calc(100vw - 32px);
    z-index: 999999;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.35);
    border: 2px solid #ef4444;
    overflow: hidden;
    animation: toastPulseBorder 1.5s infinite alternate ease-in-out, toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.global-broadcast-toast.hide-toast {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastPulseBorder {
    0% {
        border-color: #ef4444;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 68, 68, 0.4);
    }
    100% {
        border-color: #f59e0b;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.65);
    }
}

.pulse-beacon {
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: beaconPulse 1.2s infinite;
}

@keyframes beaconPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.toast-progress-bar {
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    width: 100%;
}
