/* =====================================================
   UNIVERSAL INSURANCE - PROCUREMENT SYSTEM STYLES
   Windows 8 Metro UI / Bootstrap 5 Enhancement
   PWA & Mobile Optimized
   ===================================================== */

/* -------------------- CSS VARIABLES -------------------- */
:root {
    --primary-blue: #0F3898;
    --primary-dark: #0A2660;
    --accent-blue: #1E88E5;
    --accent-red: #E74C3C;
    --accent-green: #2ECC71;
    --accent-orange: #F39C12;
    --bg-light: #F4F6F9;
    --bg-dark: #1a1a2e;
    --text-dark: #2C3E50;
    --text-muted: #7F8C8D;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 60px;
    --transition-speed: 0.3s;
}

/* -------------------- BASE STYLES -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Windows 8 Metro - Sharp Corners */
.card,
.btn,
.form-control,
.input-group-text,
.nav-link,
.badge,
.alert,
.modal-content {
    border-radius: 0 !important;
}

/* -------------------- SIDEBAR STYLES -------------------- */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

#sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

#sidebar.collapsed .sidebar-brand .logo-container {
    padding: 10px;
}

#sidebar.collapsed .sidebar-logo {
    max-width: 40px;
}

#sidebar.collapsed .menu-text,
#sidebar.collapsed .menu-group-title,
#sidebar.collapsed .sidebar-profile-info,
#sidebar.collapsed .submenu {
    display: none;
}

#sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 15px 0;
}

#sidebar.collapsed .nav-link i {
    margin-right: 0;
    font-size: 1.2rem;
}

/* Sidebar Brand with Logo */
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo-container {
    background: #fff;
    padding: 12px 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.sidebar-logo {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.app-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu Groups */
.menu-group {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-group-title {
    padding: 10px 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Nav Links */
#sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

#sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-left-color: var(--accent-blue);
}

#sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-left-color: #fff;
}

#sidebar .nav-link i {
    width: 20px;
    margin-right: 15px;
    text-align: center;
}

.menu-text {
    flex: 1;
}

/* Collapsible Submenu */
.menu-arrow {
    transition: transform var(--transition-speed);
}

.nav-link[aria-expanded="true"] .menu-arrow {
    transform: rotate(90deg);
}

.submenu {
    background: rgba(0, 0, 0, 0.15);
}

.submenu .nav-link {
    padding-left: 55px;
    font-size: 0.9rem;
}

/* Sidebar Profile */
.sidebar-profile {
    margin-top: auto;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.sidebar-profile-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.sidebar-profile-info {
    overflow: hidden;
}

.sidebar-profile-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sidebar-profile-role {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Sidebar Toggle - Hidden on desktop, only for mobile */

/* -------------------- MAIN CONTENT -------------------- */
#main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    min-height: 100dvh;
    transition: margin-left var(--transition-speed) ease;
    background: var(--bg-light);
}

#main-content.expanded {
    margin-left: var(--sidebar-collapsed-width);
}

/* Top Navbar */
.top-navbar {
    height: var(--topbar-height);
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 15px;
}

.page-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.search-box input {
    width: 100%;
    padding: 8px 15px 8px 40px;
    border: 1px solid #e0e0e0;
    background: var(--bg-light);
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.navbar-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 15px;
}

.navbar-actions .icon-btn {
    position: relative;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 8px;
}

.navbar-actions .icon-btn:hover {
    color: var(--primary-blue);
}

.notification-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
}

/* -------------------- CARDS -------------------- */
.stat-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.stat-card.primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.stat-card.danger {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c0392b 100%);
    color: #fff;
}

/* -------------------- LOGIN PAGE ANIMATIONS -------------------- */
.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Animated Gradient Background */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0F3898, #1E88E5, #0A2660, #2980B9);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -2;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Shapes Animation */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-shapes span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: float 25s linear infinite;
    bottom: -150px;
}

.floating-shapes span:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-shapes span:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 25s;
}

.floating-shapes span:nth-child(3) {
    left: 70%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

.floating-shapes span:nth-child(4) {
    left: 40%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-shapes span:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.floating-shapes span:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.floating-shapes span:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.floating-shapes span:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.floating-shapes span:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.floating-shapes span:nth-child(10) {
    left: 85%;
    width: 90px;
    height: 90px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 480px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    padding: 40px 40px 20px;
    text-align: center;
}

.login-header i {
    color: var(--primary-blue);
}

.login-tabs .nav-link {
    padding: 15px 25px;
    font-weight: 600;
    color: var(--text-muted);
    background: #f8f9fa;
    border-bottom: 3px solid transparent;
}

.login-tabs .nav-link.active {
    color: var(--primary-blue);
    background: #fff;
    border-bottom-color: var(--primary-blue);
}

.login-body {
    padding: 30px 40px 40px;
}

.login-footer {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
}

/* -------------------- MOBILE RESPONSIVE -------------------- */
@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }

    #sidebar.mobile-visible {
        transform: translateX(0);
    }

    #sidebar .sidebar-toggle {
        display: none;
    }

    #main-content {
        margin-left: 0;
    }

    #main-content.expanded {
        margin-left: 0;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity var(--transition-speed);
    }

    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .page-title {
        font-size: 1rem;
    }

    .top-navbar {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-overlay {
        display: none !important;
    }
}

@media (max-width: 767.98px) {

    .login-header,
    .login-body {
        padding-left: 25px;
        padding-right: 25px;
    }

    .login-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .stat-card .display-4 {
        font-size: 2rem;
    }

    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 575.98px) {
    .login-card {
        margin: 10px;
    }

    .login-header {
        padding: 30px 20px 15px;
    }

    .login-body {
        padding: 25px 20px 30px;
    }

    .top-navbar {
        height: 55px;
    }

    .page-title {
        font-size: 0.9rem;
    }
}

/* -------------------- UTILITIES -------------------- */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.btn-primary-blue {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.btn-primary-blue:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .sidebar-profile {
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }

    .login-page {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* =====================================================
   CUSTOM ALERT SYSTEM
   ===================================================== */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 56, 152, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: #fff;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-alert-overlay.active .custom-alert-box {
    transform: scale(1);
}

.custom-alert-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-alert-header i {
    font-size: 1.2rem;
}

.custom-alert-title {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.custom-alert-body {
    padding: 25px 30px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.custom-alert-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
}

.btn-alert {
    padding: 8px 25px;
    min-width: 100px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-alert-primary {
    background: var(--primary-blue);
    color: #fff;
}

.btn-alert-primary:hover {
    background: var(--primary-dark);
}

.btn-alert-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-alert-secondary:hover {
    background: #dee2e6;
}

/* Type variations */
.custom-alert-box.error .custom-alert-header {
    background: var(--accent-red);
}

.custom-alert-box.success .custom-alert-header {
    background: var(--accent-green);
}

.custom-alert-box.warning .custom-alert-header {
    background: var(--accent-orange);
}

/* =====================================================
   SUBMENU ICONS
   ===================================================== */
.submenu .nav-link .submenu-icon {
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
    margin-right: 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.submenu .nav-link:hover .submenu-icon,
.submenu .nav-link.active .submenu-icon {
    opacity: 1;
}

/* =====================================================
   LOGIN BUTTON ENHANCEMENTS
   ===================================================== */
.login-card .btn-primary-blue {
    background: linear-gradient(135deg, #0F62E8 0%, #0A4ABF 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(15, 98, 232, 0.3);
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
    height: 50px;
    /* Taller button */
    font-size: 1rem;
}

.login-card .btn-primary-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 98, 232, 0.4);
    background: linear-gradient(135deg, #1A6DFF 0%, #0F52D6 100%);
}

.login-card .btn-primary-blue:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Dark Button (PRO-SYS Login) override */
.login-card .btn-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    border: none;
    height: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.login-card .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   AUCTION MODULE STYLES
   ===================================================== */
/* Auction Cards */
.auction-card { transition: transform 0.2s, box-shadow 0.2s; }
.auction-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important; }
.auction-card .card-img-top { height: 200px; object-fit: cover; background: #f0f0f0; }
.auction-card .bid-amount { font-size: 1.3rem; font-weight: 700; color: var(--primary-blue); }
.auction-card .countdown { font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--accent-red); }
.condition-badge { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* Bid Panel */
.bid-panel { background: #f8f9fa; border: 2px solid var(--primary-blue); padding: 20px; }
.bid-panel .current-bid { font-size: 2rem; font-weight: 700; color: var(--primary-blue); }
.bid-panel .bid-input { font-size: 1.2rem; text-align: center; font-weight: 600; }

/* Countdown Timer */
.countdown-timer { display: flex; gap: 8px; }
.countdown-timer .time-block { text-align: center; min-width: 50px; }
.countdown-timer .time-value { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); background: #f0f4ff; padding: 5px 10px; }
.countdown-timer .time-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); }

/* Star Rating */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating .fa-star { color: #ddd; cursor: pointer; transition: color 0.2s; }
.star-rating .fa-star.active, .star-rating .fa-star:hover { color: #f39c12; }
.star-rating-display .fa-star { cursor: default; }
.star-rating-display .fa-star.filled { color: #f39c12; }

/* =====================================================
   NOTIFICATION DROPDOWN
   ===================================================== */
.notification-dropdown { border-radius: 0 !important; }
.notification-dropdown::-webkit-scrollbar { width: 5px; }
.notification-dropdown::-webkit-scrollbar-thumb { background: #ccc; }

/* =====================================================
   SEARCH AUTOCOMPLETE
   ===================================================== */
#search-results-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 9999; display: none; max-height: 400px; overflow-y: auto;
    border: 1px solid #e0e0e0;
}
#search-results-dropdown .search-result-item {
    display: flex; align-items: center; padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.2s;
}
#search-results-dropdown .search-result-item:hover { background: #f0f5ff; }
#search-results-dropdown .search-result-icon { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; background: #f0f4ff; color: var(--primary-blue); margin-right: 12px; flex-shrink: 0; }
#search-results-dropdown .search-result-title { font-weight: 600; font-size: 0.85rem; color: #333; }
#search-results-dropdown .search-result-subtitle { font-size: 0.75rem; color: #999; }
#search-results-dropdown .search-group-header { padding: 8px 15px; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); background: #f8f9fa; font-weight: 600; letter-spacing: 0.5px; }

/* =====================================================
   ANALYTICS & CHARTS
   ===================================================== */
.chart-container { position: relative; height: 300px; }
.budget-progress { height: 8px; background: #e9ecef; }
.budget-progress .progress-bar { transition: width 0.5s ease; }

/* =====================================================
   APPROVAL TIMELINE
   ===================================================== */
.approval-timeline { position: relative; padding-left: 30px; }
.approval-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: #e0e0e0; }
.approval-timeline .timeline-item { position: relative; margin-bottom: 20px; }
.approval-timeline .timeline-dot { position: absolute; left: -25px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #e0e0e0; background: #fff; }
.approval-timeline .timeline-dot.approved { border-color: var(--accent-green); background: var(--accent-green); }
.approval-timeline .timeline-dot.rejected { border-color: var(--accent-red); background: var(--accent-red); }
.approval-timeline .timeline-dot.pending { border-color: var(--accent-orange); background: var(--accent-orange); }

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    #sidebar, .top-navbar, .mobile-overlay, .no-print { display: none !important; }
    #main-content { margin-left: 0 !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
    .btn { display: none !important; }
    body { background: #fff; }
}

/* =====================================================
   TABLE ENHANCEMENTS
   ===================================================== */
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.table td { vertical-align: middle; }
.table-hover tbody tr:hover { background-color: #f0f5ff; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 15px; }
.filter-tabs .filter-tab {
    padding: 6px 16px; font-size: 0.8rem; font-weight: 600;
    background: #f0f0f0; color: #666; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;
    text-decoration: none;
}
.filter-tabs .filter-tab:hover { background: #e0e0e0; color: #333; }
.filter-tabs .filter-tab.active { background: var(--primary-blue); color: #fff; }

/* =====================================================
   VENDOR RATING STARS INPUT
   ===================================================== */
.rating-input { display: flex; gap: 3px; direction: rtl; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.5rem; color: #ddd; cursor: pointer; transition: color 0.2s; }
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: #f39c12; }

/* =====================================================
   QUICK ACTIONS
   ===================================================== */
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px 15px; background: #f8f9fa; border: 1px solid #e0e0e0;
    text-decoration: none; color: var(--text-dark); transition: all 0.2s;
}
.quick-action-btn:hover { background: #f0f5ff; border-color: var(--primary-blue); color: var(--primary-blue); transform: translateY(-2px); }
.quick-action-btn i { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary-blue); }
.quick-action-btn span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

/* Contract expiry indicators */
.expiry-green { border-left: 3px solid var(--accent-green); }
.expiry-yellow { border-left: 3px solid var(--accent-orange); }
.expiry-red { border-left: 3px solid var(--accent-red); }
.expiry-grey { border-left: 3px solid #ccc; }