/* NP SoftTech Brand Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');

:root {
    /* Brand Colors - Blue Gradient (Using darker blues from branding) */
    --brand-blue-dark: #3786C0;  /* Darker blue */
    --brand-blue: #5F9ECD;       /* Medium blue */
    --brand-blue-light: #87B6D9;
    --brand-blue-lighter: #AFCFE6;
    --brand-blue-lightest: #D7E7F2;
    
    /* Brand Colors - Orange Gradient */
    --brand-orange: #FF6713;
    --brand-orange-light: #FF8542;
    --brand-orange-lighter: #FFA471;
    --brand-orange-lightest: #FFC2A1;
    --brand-orange-pale: #FFE1D0;
    
    /* Brand Colors - Grays */
    --brand-black: #000000;
    --brand-gray-dark: #333333;
    --brand-gray: #666666;
    --brand-gray-light: #999999;
    --brand-gray-lighter: #CCCCCC;

    --white: #ffffff;
    
    /* Font */
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--brand-gray-dark);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--brand-gray-dark);
    line-height: 1.2;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%) 1;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

header h1 {
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

header h1:hover {
    transform: translateX(2px);
    opacity: 0.9;
}

header h1 a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
    display: inline-block;
}

/* Custom Confirm Modal Styles */
#confirmModal {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

#confirmModal .bg-white {
    animation: modalSlideIn 0.3s ease-out;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#confirmModal .bg-white h3 {
    color: var(--brand-gray-dark);
    font-weight: 700;
}

#confirmModal .bg-white #confirmModalOK {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#confirmModal .bg-white #confirmModalOK:hover {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 134, 192, 0.4);
}

#confirmModal .bg-white #confirmModalCancel {
    background: var(--brand-gray);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#confirmModal .bg-white #confirmModalCancel:hover {
    background: var(--brand-gray-dark);
    transform: translateY(-1px);
}

#confirmModalList {
    padding-left: 1.5rem;
}

#confirmModalList li {
    margin-bottom: 0.25rem;
    color: var(--brand-gray-dark);
}

#confirmModalFooter {
    font-weight: 700;
    color: #dc2626;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--brand-blue);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--brand-blue-lightest);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--brand-blue-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%) 1;
}

.mobile-drawer.drawer-open {
    right: 0;
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--brand-blue-lightest);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-blue-lightest) 0%, #ffffff 100%);
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brand-gray);
    padding: 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    background: var(--brand-blue-lightest);
    color: var(--brand-blue-dark);
    transform: rotate(90deg);
}

.drawer-content {
    padding: 1rem;
}

.drawer-welcome {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--brand-blue-lightest) 0%, var(--brand-blue-lighter) 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--brand-blue);
}

.drawer-welcome-text {
    font-size: 0.875rem;
    color: var(--brand-gray-dark);
    font-weight: 600;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--brand-gray-dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.drawer-nav a:hover,
.drawer-nav a:active {
    background: linear-gradient(135deg, var(--brand-blue-lightest) 0%, var(--brand-blue-lighter) 100%);
    color: var(--brand-blue-dark);
    border-color: var(--brand-blue-light);
    transform: translateX(4px);
}

.drawer-nav a.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    margin-top: 1rem;
    justify-content: center;
}

.drawer-nav a.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-color: #dc2626;
    transform: translateX(0) scale(1.02);
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.drawer-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Header */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    header h1 a {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .mobile-drawer {
        display: none;
    }
    
    .drawer-overlay {
        display: none;
    }
    
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    header h1 a {
        font-size: 1.75rem;
    }
}

/* Removed duplicate - handled above */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #3786C0 0%, #5F9ECD 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a6a96 0%, #3786C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 134, 192, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-secondary {
    background: var(--brand-gray-lighter);
    color: var(--brand-gray-dark);
}

.btn-secondary:hover {
    background: var(--brand-gray-light);
    transform: translateY(-2px);
}

.btn-orange {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
    color: white;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e55a0f 0%, var(--brand-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 103, 19, 0.3);
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(95, 158, 205, 0.15);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(95, 158, 205, 0.2);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

/* Stats Card */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(95, 158, 205, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%);
}

.stat-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(95, 158, 205, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--brand-blue-lightest) 0%, var(--brand-orange-pale) 100%);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-gray-dark);
    margin: 0.5rem 0;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-change {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.stat-card-change.positive {
    background: #d1fae5;
    color: #065f46;
}

.stat-card-change.negative {
    background: #fee2e2;
    color: #991b1b;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.6rem 1rem !important;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--brand-gray-lighter);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: #5F9ECD;
    box-shadow: 0 2px 6px rgba(55, 134, 192, 0.1);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3786C0;
    box-shadow: 0 0 0 4px rgba(55, 134, 192, 0.15), 0 4px 12px rgba(55, 134, 192, 0.2);
    background: #fafbfc;
    transform: translateY(-1px);
}


/* Labels */
label {
    display: block;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-gray-dark);
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
}

thead {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

thead th {
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
    text-align: left;
    white-space: nowrap;
}

tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e5e7eb;
}

tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

tbody tr:hover {
    background: linear-gradient(90deg, var(--brand-blue-lightest) 0%, rgba(255, 255, 255, 0.8) 100%);
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-blue {
    background: var(--brand-blue-lightest);
    color: var(--brand-blue-dark);
}

.badge-orange {
    background: var(--brand-orange-pale);
    color: var(--brand-orange);
}

.badge-green {
    background: #d1fae5;
    color: #065f46;
}

.badge-red {
    background: #fee2e2;
    color: #991b1b;
}

.badge-yellow {
    background: #fef3c7;
    color: #92400e;
}

.badge-purple {
    background: #e9d5ff;
    color: #6b21a8;
}

.badge-gray {
    background: var(--brand-gray-lighter);
    color: var(--brand-gray-dark);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-info {
    background: var(--brand-blue-lightest);
    color: var(--brand-blue-dark);
    border-color: var(--brand-blue);
}

/* Navigation Links */
nav a, .nav-link {
    color: var(--brand-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

nav a:hover, .nav-link:hover {
    background: linear-gradient(135deg, var(--brand-blue-lightest) 0%, var(--brand-blue-lighter) 100%);
    transform: translateY(-1px);
}

/* Status Highlights */
.status-due {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
}

/* Mobile table labels */
@media (max-width: 640px) {
    tbody td[data-label]:before {
        content: attr(data-label);
        position: absolute;
        left: 0.5rem;
        font-weight: 700;
        color: var(--brand-blue-dark);
        text-align: left;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stat-card-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 0.75rem 0;
    }
    
    header h1 a {
        font-size: 1.5rem;
    }
    
    nav a, .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    header h1 a {
        font-size: 1.375rem;
    }
    
    header .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card-value {
        font-size: 1.5rem;
    }
    
    .stat-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    thead th, tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .stat-card-value {
        font-size: 1.25rem;
    }
    
    .grid {
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    header {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.25rem;
    }
    
    .card {
        padding: 1rem;
        border-radius: 8px;
    }
    
    /* Stack table columns on mobile - only for tables with data-label */
    table.mobile-stack, 
    table.mobile-stack thead, 
    table.mobile-stack tbody, 
    table.mobile-stack th, 
    table.mobile-stack td, 
    table.mobile-stack tr {
        display: block;
    }
    
    table.mobile-stack thead {
        display: none;
    }
    
    table.mobile-stack tbody tr {
        margin-bottom: 1rem;
        border: 2px solid var(--brand-blue-light);
        border-radius: 8px;
        padding: 0.5rem;
        background: white;
    }
    
    table.mobile-stack tbody td {
        padding: 0.75rem 0.5rem 0.75rem 50%;
        border: none;
        text-align: right;
        position: relative;
        border-bottom: 1px solid #e5e7eb;
    }
    
    table.mobile-stack tbody td:last-child {
        border-bottom: none;
    }
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-blue-lightest);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-blue-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* WhatsApp Button Special Style */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Search Input Special Style */
.search-input {
    position: relative;
}

.search-input input {
    padding-left: 2.5rem;
}

.search-input:before {
    content: "🔍";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-gray);
}

/* Premium Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 50%, var(--brand-blue-light) 100%);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
}

.bg-gradient-blue-light {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
}

/* Date Filter Buttons */
.date-filter-btn {
    background: white;
    border: 2px solid var(--brand-gray-lighter);
    color: var(--brand-gray-dark);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    min-width: fit-content;
}

.date-filter-btn:hover {
    border-color: #3786C0;
    background: var(--brand-blue-lightest);
    color: #3786C0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(55, 134, 192, 0.2);
}

.date-filter-btn.active {
    background: linear-gradient(135deg, #3786C0 0%, #5F9ECD 100%);
    border-color: #3786C0;
    color: white;
    box-shadow: 0 4px 12px rgba(55, 134, 192, 0.4);
}

.date-filter-btn.active:hover {
    background: linear-gradient(135deg, #2a6a96 0%, #3786C0 100%);
    transform: translateY(-2px);
}

/* Filter Button Container */
.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.filter-buttons-container form {
    display: inline-block;
    margin: 0;
}

/* Filter Sections Spacing */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section:last-child {
    margin-bottom: 1rem;
}

/* Mobile/Desktop Filter Toggle */
.mobile-date-filter,
.mobile-status-filter {
    display: block;
}

.desktop-date-filter,
.desktop-status-filter {
    display: none;
}

@media (min-width: 768px) {
    .mobile-date-filter,
    .mobile-status-filter {
        display: none;
    }
    
    .desktop-date-filter,
    .desktop-status-filter {
        display: block;
    }
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

