/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
    /* Corporate Color Palette */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    
    /* Status Colors */
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Layout */
    --sidebar-width: 250px;
    --sidebar-collapsed: 80px;
    --topbar-height: 70px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.form-container {
            background: linear-gradient(135deg, #1e40af 0%, #ffffffff 100%);
            min-height: 100vh;

        }
        .form-card {
            max-width: 800px;
            margin: 0 auto;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }
        .preview-image {
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            background: #f8f9fa;
            transition: all 0.3s;
        }
        .preview-image:hover {
            border-color: #3498db;
            background: #e3f2fd;
        }
        .btn-generate {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
            border: none;
            color: white;
        }
        .btn-generate:hover {
            background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
            color: white;
        }

/* ===== LOGIN PAGE ===== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    font-family: 'Inter', sans-serif;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 40px 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    justify-content: space-between;
    height: 700px; 
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.login-card h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.login-card p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 14px;
}

.login-card .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-card label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    display: block;
    margin-bottom: 6px;
}

.login-card input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid var(--gray-300);
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-card input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    outline: none;
}

.login-card .btn-login {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-card .btn-login:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-text {
    margin-top:auto; 
    text-align: center;
    font-size: 13px;
    color: #6c757d;
    padding-top: 30px;
}

.login-logo {
    width: 120px;         
    height: 120px;         
    object-fit: contain; 
    margin-top: 60px; 
    margin-bottom: 10px;   
    border-radius: 50%;  
    background: #ffffff;   
    box-shadow: 0 4px 10px rgba(4, 12, 235, 0.673);
    padding: 10px;      
}


/* ===== SIDEBAR STYLES ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.sidebar.closed {
    width: 90px;
}

.sidebar img {
    height: 100px;
    width: auto;
    margin: 20px auto 60px;
    display: block;
    padding: 8px;
    transition: all 0.3s ease;
}

.sidebar.closed img {
    height: 50px;
    margin: 20px auto;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    margin: 4px 12px;
    border-radius: var(--border-radius);
    position: relative;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(4px);
}

.sidebar a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar a i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar.closed a span {
    opacity: 0;
    pointer-events: none;
}

/* ===== TOPBAR STYLES ===== */
.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.topbar.expanded {
    left: var(--sidebar-collapsed);
}

.topbar h5 {
    background: linear-gradient(135deg, #1e40af, #4f74ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 30px;
}

.toggle-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-600);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    margin-right: 16px;
}

.toggle-btn:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

/* ===== CONTENT AREA ===== */
.content {
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-height);
    padding: 24px;
    min-height: calc(100vh - var(--topbar-height));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content.expanded {
    margin-left: var(--sidebar-collapsed);
}

/* ===== CARD STYLES ===== */
.card, .professional-card, .professional-form-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 30px;
}

.card:hover, .professional-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header, .card-header-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 20px 24px;
    border-bottom: none;
    font-weight: 600;
    font-size: 18px;
}

.card-body {
    padding: 24px;
}


/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    background: linear-gradient(135deg, #ffffff, #f1f4f9);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    text-align: center;
}
.dashboard-card.bg-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}
.dashboard-card.bg-success {
    background: linear-gradient(135deg, #16a34a, #065f46);
}
.dashboard-card.bg-danger {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}
.dashboard-card.bg-info {
    background: linear-gradient(135deg, #0891b2, #0369a1);
}
.dashboard-card.bg-overdue {
    background: #5b21b6 !important;
    color: #fff !important;
    border: none;
}


.dashboard-card i {
    font-size: 2.0rem;
    margin-bottom: 12px;
    opacity: 0.9;
    text-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.dashboard-card h3 {
    font-size: 2.0rem;
    font-weight: 700;
    margin: 5px 0;
}

.dashboard-card p {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    color: black;
}

.dashboard-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.227);
}

/* ===== ALERT SECTIONS ===== */
.alert-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.alert-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
    margin-bottom: 0px;
    border-radius: 10px;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
    margin-bottom: 0px;
    border-radius: 10px;
}

.alert-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}
.alert-section {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.alert-section:hover {
    box-shadow: var(--shadow-lg);
}

.alert-toggle {
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.alert-section.critical .alert-toggle {
    border-left-color: var(--danger-color);
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.05), transparent);
}

.alert-section.warning .alert-toggle {
    border-left-color: var(--warning-color);
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.05), transparent);
}

.alert-section.info .alert-toggle {
    border-left-color: var(--info-color);
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.05), transparent);
}

.alert-toggle:hover {
    background-color: var(--gray-50);
}

.alert-list {
    border-top: 1px solid var(--gray-200);
    max-height: 300px;
    overflow-y: auto;
}

.alert-list-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.alert-list-item:hover {
    background: var(--gray-50);
}

.alert-list-item:last-child {
    border-bottom: none;
}

.alert-list-item.critical {
    border-left: 3px solid var(--danger-color);
}

.alert-list-item.warning {
    border-left: 3px solid var(--warning-color);
}

.alert-list-item.info {
    border-left: 3px solid var(--info-color);
}

/* =========================
   Compact Filter Dropdown
========================= */
.filter-form {
    gap: 8px;
}

.filter-select {
    padding: 6px 10px;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    width: auto; /* prevents it from stretching too wide */
    min-width: 100px;
}

.filter-select:hover, 
.filter-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0,123,255,0.4);
    outline: none;
}

.filter-form label i {
    font-size: 0.95rem;
    color: #007bff;
}

/* ===== TABLE STYLES ===== */
.table-professional {
    margin: 0;
    font-size: 14px;
}

.table-professional thead th {
    background: var(--gray-800);
    color: white;
    font-weight: 600;
    padding: 16px;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-professional tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-200);
}

.table-professional tbody tr:hover {
    background: var(--gray-50);
}

.table-professional tbody td {
    padding: 16px;
    vertical-align: middle;
    border: none;
}

/* ===== FORM STYLES ===== */
.form-container {
    background: var(--gray-50);
    min-height: 100vh;
    padding: 40px 0;
}

.form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    margin: 0 auto;
    max-width: 800px;
    border: 1px solid var(--gray-200);
}

.form-title {
    color: var(--gray-800);
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
    font-size: 2rem;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.form-label, .form-label-custom {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control, .form-select, .form-control-custom {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus, .form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    outline: none;
}

/* ===== BUTTON STYLES ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px 24px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary, .btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #10b981);
    color: white;
}

.btn-outline-success2 {
    background: transparent;
    color: var(--success-color);
    border: 2px solid var(--success-color);
    transition: all 0.2s ease-in-out;
}

.btn-outline-success2:hover {
    background: var(--success-color);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #ef4444);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), var(--accent-color));
    color: white;
}

.btn-secondary, .btn-secondary-custom {
    background: linear-gradient(135deg, #e74c3c, #c0392b);;
    color: white;
}

.btn-light {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary2 {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-color: transparent;
}
.btn-outline-primary2:hover {
    background-color: #354edc;
    color: #fff;
}

.btn-outline-danger {
    background: transparent;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
}
.btn-outline-danger2 {
    background: transparent;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
    border-color: transparent;
}
.btn-outline-danger2:hover {
    background-color: #dc3545;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ===== BADGE STYLES ===== */
.badge {
    font-weight: 600;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success { background: var(--success-color) !important; }
.badge.bg-warning { background: var(--warning-color) !important; }
.badge.bg-danger { background: var(--danger-color) !important; }
.badge.bg-info { background: var(--info-color) !important; }
.badge.bg-secondary { background: var(--gray-500) !important; }

.no-border {
    border: none !important;
    font-weight: 600;
}


/* ===== SEARCH & FILTER STYLES ===== */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 40px;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.btn-clear {
    background: var(--gray-600);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-clear:hover {
    background: var(--gray-700);
    transform: scale(1.05);
}

.btn-csv {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 13px;
    border-radius: var(--border-radius);
}

/* ===== CHART STYLES ===== */
.chart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px 20px 0 20px;
    height: 200px;
    position: relative;
}

.chart-container canvas {
    max-width: 100%;
    height: 100% !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up, .fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }
}

.chartjs-legend ul {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: wrap !important;
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.chartjs-legend li {
  display: flex;
  align-items: center;
  white-space: normal !important;
  word-wrap: break-word;
  width: 180px; /* <-- controls how soon text wraps */
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d47a1;             
    color: #fff;
    padding: 0px 0px;              
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    margin-top:0;     
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

.footer h6 {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer p {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgb(9, 9, 9);
    margin: 8px auto;
    width: 100%;
}

/* ===== IMAGE & MEDIA STYLES ===== */
.img-thumbnail {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 4px;
    background: white;
}

.no-image-placeholder {
    background: var(--gray-100) !important;
    border: 2px dashed var(--gray-300) !important;
    color: var(--gray-400);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .content {
        padding: 20px;
    }
    
    .dashboard-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: var(--sidebar-collapsed);
    }
    
    .sidebar.closed {
        width: 0;
    }
    
    .content {
        margin-left: var(--sidebar-collapsed);
    }
    
    .content.expanded {
        margin-left: 0;
    }
    
    .topbar {
        left: var(--sidebar-collapsed);
    }
    
    .topbar.expanded {
        left: 0;
    }
    
    .dashboard-card {
        margin-bottom: 16px;
    }
    
    .dashboard-card h3 {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .table-responsive {
        font-size: 12px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .content {
        padding: 16px;
    }
    
    .form-card {
        padding: 24px;
        margin: 16px;
    }
    
    .dashboard-card h3 {
        font-size: 1.5rem;
    }
    
    .topbar h5 {
        font-size: 16px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }

.bg-primary { background: var(--primary-color) !important; }
.bg-success { background: var(--success-color) !important; }
.bg-danger { background: var(--danger-color) !important; }
.bg-warning { background: var(--warning-color) !important; }
.bg-info { background: var(--info-color) !important; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ===== LOADING STATES ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Custom datetime input style */
.datetime-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.datetime-wrapper input[type="datetime-local"] {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.datetime-wrapper input[type="datetime-local"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
    outline: none;
}

.datetime-wrapper .fa-calendar,
.datetime-wrapper .fa-clock {
    position: absolute;
    right: 10px;
    color: #6c757d;
    pointer-events: none;
}

/* Custom datetime input style */
.datetime-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.datetime-wrapper input[type="datetime-local"] {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.datetime-wrapper input[type="datetime-local"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
    outline: none;
}

.datetime-wrapper .fa-calendar,
.datetime-wrapper .fa-clock {
    position: absolute;
    right: 10px;
    color: #080808;
    pointer-events: none;
}

/* If you want calendar and clock separately */
.datetime-wrapper .fa-clock {
    right: 30px;
}



