/* 
   Restaurant Management System (RMS) - Hotel Sri Pandian Custom Theme
   Theme: Enterprise SaaS Premium (Stripe / Square / Shopify Inspired)
*/

:root {
    --primary: #0F5B36;          /* Deep Forest Green brand color */
    --primary-light: #EBF7EE;    /* Soft brand background */
    --primary-dark: #083D23;     /* Dark green active state */
    --secondary: #1E3A8A;        /* Navy blue accent */
    --background: #FFFFFF;       /* Card background */
    --bg-secondary: #F8FAFC;     /* Page background (light slate gray) */
    --text-primary: #0F172A;     /* Slate 900 text */
    --text-secondary: #64748B;   /* Slate 500 label text */
    --border-color: #E2E8F0;     /* Slate 200 borders */
    --success: #10B981;          /* Emerald success */
    --warning: #F59E0B;          /* Amber warning */
    --error: #EF4444;            /* Red error */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 35px rgba(15, 23, 42, 0.08);
    --border-radius: 12px;
    --border-radius-lg: 18px;    /* Premium SaaS border radius */
    --transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Sidebar Overhaul */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--background);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.sidebar-brand {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: var(--background);
}

.sidebar-menu {
    list-style: none;
    padding: 20px 12px;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-menu li {
    padding: 3px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 550;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
}

.sidebar-menu a i {
    margin-right: 12px;
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.sidebar-menu a:hover i {
    color: var(--primary);
}

.sidebar-menu li.active a {
    background-color: var(--primary);
    color: #FFFFFF;
}

.sidebar-menu li.active a i {
    color: #FFFFFF;
}

/* Dynamic counter badges */
.sidebar-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
}

.sidebar-menu li.active a .sidebar-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Sidebar Premium Cards */
.sidebar-promo-card {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #BBF7D0;
    border-radius: var(--border-radius);
    padding: 18px;
    margin: 15px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.sidebar-promo-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.sidebar-promo-text {
    font-size: 0.75rem;
    color: #166534;
    margin-bottom: 12px;
    line-height: 1.35;
}

/* Topbar Header glassmorphism & layout */
.topbar {
    height: 75px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    position: fixed;
    top: 0;
    right: 0;
    left: 260px;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-content {
    margin-left: 260px;
    padding: 105px 35px 40px 35px;
    min-height: 100vh;
    transition: var(--transition);
}

/* Stat Cards & Panels overrides */
.card-premium {
    background: var(--background);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 91, 54, 0.15);
}

/* Modern buttons styling */
.btn-primary-green {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(15, 91, 54, 0.15);
    transition: var(--transition);
}

.btn-primary-green:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 91, 54, 0.25);
}

.btn-secondary-green {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-secondary-green:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Indicators */
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.trend-up {
    background-color: #E6FDF4;
    color: var(--success);
}

.trend-down {
    background-color: #FDF2F2;
    color: var(--error);
}

/* Fixed-width search box paired with a card title (products, suppliers, etc).
   Shrinks to full width once it wraps onto its own row on narrow screens
   instead of staying pinned at a width wider than the viewport. */
.catalog-search-box {
    width: 250px;
    max-width: 100%;
}

/* User avatar */
.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

/* Custom Table Overrides */
.table-premium {
    width: 100%;
}

.table-premium th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.table-premium td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
}

.table-premium tr:hover td {
    background-color: var(--bg-secondary);
}

/* Dashboard Quick actions grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.quick-action-tile:hover {
    background: var(--background);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-action-tile i {
    font-size: 1.35rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.quick-action-tile:hover i {
    transform: scale(1.1);
}

.quick-action-tile span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-quick-new-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 91, 54, 0.15);
}

.btn-quick-new-order:hover {
    background-color: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 91, 54, 0.25);
}

/* Top selling items styles */
.top-selling-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.top-selling-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

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

.top-selling-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.top-selling-info {
    flex-grow: 1;
}

.top-selling-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.top-selling-orders {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 2px 0 0 0;
}

.top-selling-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

/* Low Stock warning alert styling */
.low-stock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.low-stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background-color: #FFFDF9;
    border: 1px solid #FFE0B2;
    border-radius: var(--border-radius);
}

.low-stock-warning-icon {
    color: var(--warning);
    font-size: 1rem;
}

.low-stock-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.low-stock-badge-red {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--error);
}

/* Footer metrics display bar */
.footer-metrics-bar {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow);
}

.footer-metric-col {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--border-color);
}

.footer-metric-col:last-child {
    border-right: none;
}

.footer-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background-color: var(--bg-secondary);
}

.footer-metric-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-metric-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2px 0 0 0;
}

.stars-yellow {
    color: #FBBF24;
}

/* Chart filter styles */
.chart-filter-tabs {
    display: flex;
    gap: 4px;
    background-color: var(--bg-secondary);
    padding: 3px;
    border-radius: 8px;
}

.chart-filter-tab {
    border: none;
    background: transparent;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition);
}

.chart-filter-tab.active {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* Veg / Non-Veg Premium Badges */
.badge-veg, .badge-nonveg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid transparent;
    transition: var(--transition);
}

.badge-veg {
    background-color: rgba(230, 253, 244, 0.95);
    color: #0F5B36; /* Deep forest green brand color */
    border-color: rgba(15, 91, 54, 0.15);
}

.badge-nonveg {
    background-color: rgba(254, 242, 242, 0.95);
    color: #EF4444; /* Soft red brand color */
    border-color: rgba(239, 68, 68, 0.15);
}

.badge-veg::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10B981;
}

.badge-nonveg::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #EF4444;
}


/* Active Nav Pills style fix */
.nav-pills .nav-link.active {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(15, 91, 54, 0.15);
}

/* Category Filter list premium styling */
.category-filter-list {
    display: flex;
    flex-direction: column;
}
.filter-cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 550;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    background: transparent;
    margin-bottom: 4px;
}
.filter-cat-btn i {
    color: var(--text-secondary);
    transition: var(--transition);
}
.filter-cat-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}
.filter-cat-btn:hover i {
    color: var(--primary);
}
.filter-cat-btn.active {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(15, 91, 54, 0.15);
}
.filter-cat-btn.active i {
    color: #FFFFFF !important;
}

/* Category Manage Modal row item styling */
.category-manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: var(--transition);
}
.category-manage-item:hover {
    background: var(--bg-secondary);
    border-color: rgba(15, 91, 54, 0.15);
}

/* Dietary and status premium badges */
.badge-both, .badge-beverage, .badge-dessert {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: var(--transition);
}

.badge-both {
    background-color: rgba(241, 245, 249, 0.95);
    color: #475569;
    border-color: rgba(71, 85, 105, 0.15);
}
.badge-both::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #64748B;
}

.badge-beverage {
    background-color: rgba(239, 246, 255, 0.95);
    color: #1D4ED8;
    border-color: rgba(29, 78, 216, 0.15);
}
.badge-beverage::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3B82F6;
}

.badge-dessert {
    background-color: rgba(250, 245, 255, 0.95);
    color: #7E22CE;
    border-color: rgba(126, 34, 206, 0.15);
}
.badge-dessert::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #A855F7;
}

.badge-shift {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(15, 91, 54, 0.15);
}

.badge-expense-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(15, 91, 54, 0.15);
}

.badge-status-present {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: rgba(230, 253, 244, 0.95);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.15);
}
.badge-status-present::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #059669;
}

.badge-status-absent {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: rgba(254, 242, 242, 0.95);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}
.badge-status-absent::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #EF4444;
}

.badge-status-leave {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: rgba(255, 249, 230, 0.95);
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.15);
}
.badge-status-leave::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D97706;
}

/* Close (X) control inside the mobile sidebar drawer.
   Pushed to the far right of the brand row by margin-left:auto. */
.sidebar-close {
    margin-left: auto;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-secondary, #f6f7f9);
    color: var(--text-secondary, #555);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover,
.sidebar-close:focus {
    background: var(--primary, #2E7D32);
    border-color: var(--primary, #2E7D32);
    color: #fff;
    outline: none;
}

/* Backdrop behind the off-canvas sidebar (hidden on desktop) */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
}

/* Responsive sidebar controls */
@media (max-width: 992px) {
    .sidebar {
        left: -260px;
    }
    .sidebar.active {
        left: 0;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
    }
    .sidebar-backdrop.active {
        display: block;
    }
    /* Lock background scrolling while the drawer is open */
    body.sidebar-open {
        overflow: hidden;
    }
    .topbar {
        left: 0;
        padding: 0 20px;
    }
    .main-content {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Phone tier — the layout above only ever handled tablets */
@media (max-width: 768px) {
    .topbar {
        padding: 0 14px;
    }
    .main-content {
        padding: 95px 14px 32px 14px;
    }
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    /* When a card header (title + filter tabs/dropdown) wraps, the tab
       group should sit on its own full-width row below the title instead
       of hugging the right edge next to a wrapped, multi-line title. */
    .chart-filter-tabs {
        width: 100%;
        justify-content: space-between;
    }
    .chart-filter-tab {
        flex: 1;
    }
    .catalog-search-box {
        width: 100%;
    }
    /* Metric columns stack instead of sitting behind vertical dividers */
    .footer-metric-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .footer-metric-col:last-child {
        border-bottom: none;
    }
    /* Tables must scroll inside their own container, never the page body */
    .table-responsive {
        max-height: none !important;
    }
    .table-premium th,
    .table-premium td {
        padding: 10px 12px;
        font-size: 0.875rem;
    }
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem) !important;
    }
}

/* Any wide element should scroll itself rather than being clipped by
   the body's overflow-x:hidden */
@media (max-width: 992px) {
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    /* pos.php sets these heights inline as calc(100vh - 230px) and
       calc(100vh - 490px); on a phone the cart computes to ~0 or negative,
       so the panels stack with sane fixed heights instead. !important is
       required to beat the inline style. */
    .products-grid-scroll {
        height: auto !important;
        max-height: 55vh;
    }
    .cart-items-scroll {
        height: auto !important;
        min-height: 180px;
        max-height: 45vh;
        overflow-x: auto;
    }
}

/* Sm Veg / Non-Veg badge overrides for POS 4-column cards */
.badge-veg-sm, .badge-nonveg-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.5px 5px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
}
.badge-veg-sm {
    background-color: rgba(230, 253, 244, 0.95);
    color: #0F5B36;
    border-color: rgba(15, 91, 54, 0.15);
}
.badge-nonveg-sm {
    background-color: rgba(254, 242, 242, 0.95);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.15);
}
.badge-veg-sm::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #10B981;
}
.badge-nonveg-sm::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #EF4444;
}

/* Premium Form Elements & Unified Input Groups */
.form-control-premium {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: #ffffff;
}

.form-control-premium:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 91, 54, 0.15) !important;
    outline: none;
}

.input-group-premium {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    background: #ffffff;
    transition: var(--transition);
}

.input-group-premium:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 91, 54, 0.15) !important;
}

.input-group-premium .input-group-text {
    border: none !important;
    background-color: transparent !important;
    color: var(--text-secondary);
    padding-left: 16px;
    padding-right: 12px;
}

.input-group-premium .form-control {
    border: none !important;
    box-shadow: none !important;
    padding-left: 4px;
    background-color: transparent !important;
}

.input-group-premium .btn {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--text-secondary);
    padding-right: 16px;
}

.input-group-premium .btn:hover {
    color: var(--primary) !important;
}

/* Adjust standard bootstrap was-validated state for premium groups */
.was-validated .input-group-premium:has(:invalid) {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.was-validated .input-group-premium:has(:valid) {
    border-color: var(--success) !important;
}
