/* ========================================
   Face The Risk - Main Stylesheet
   AI Risk Analysis Platform
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /*--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    /*--primary-gradient: linear-gradient(135deg, #6382f1 0%, #4f6be0 100%);*/
    --primary-gradient: #1E293B;

    /*--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);*/
    /*--secondary-gradient: linear-gradient(135deg, #468de5 0%, #2f6fbb 100%);*/
    --secondary-gradient: linear-gradient(135deg, #808080 0%, #a9a9a9 0%);

    /*--success-gradient: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    --warning-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --info-gradient: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    --danger-gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);*/
    --success-gradient: linear-gradient(135deg, #10b981 0%, #0e9f6e 100%);
    --warning-gradient: linear-gradient(135deg, #ff8400 0%, #cc6a00 100%);
    --info-gradient: linear-gradient(135deg, #06b6d4 0%, #0492a8 100%);
    --danger-gradient: linear-gradient(135deg, #ff4500 0%, #cc3700 100%);
    
    /* Form specific gradients */
    --form-primary: linear-gradient(135deg, #6382f1 0%, #4f6be0 100%);
    --form-secondary: linear-gradient(135deg, #468de5 0%, #2f6fbb 100%);
    
    --bg-light-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    
    --border-radius-sm: 8px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;

            --surface-color: rgba(255, 255, 255, 0.95);
            --surface-dark: rgba(255, 255, 255, 0.1);
            --text-primary: #1e293b;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border-color: #e2e8f0;
            --border-focus: #3b82f6;
            --success-color: #10b981;
            --error-color: #ef4444;
            --warning-color: #f59e0b;
            --primary-color: #3b82f6;
            --primary-dark: #0f172a;
            --primary-light: #60a5fa;
            --secondary-color: #64748b;
            --surface-color: rgba(255, 255, 255, 0.95);
            --surface-dark: rgba(255, 255, 255, 0.1);

            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
}

/* ========================================
   Base Styles
   ======================================== */

body {
    background: var(--bg-light-gradient);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Login page specific body */
body.login-body {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ========================================
   Fluid Adaptive Navigation - Scales with Screen Size
   ======================================== */

.navbar-modern {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: clamp(0.5rem, 1.2vw, 0.85rem) 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    padding: clamp(0.45rem, 1vw, 0.7rem) 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    display: flex;
    align-items: center;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-logo {
    height: clamp(38px, 5vw, 48px);
    width: auto;
    max-width: clamp(140px, 25vw, 220px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.3) drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3));
    opacity: 1;
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4) drop-shadow(0 4px 10px rgba(255, 255, 255, 0.4));
}

.navbar-brand-text {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #ffffff;
    margin-left: clamp(0.5rem, 0.85vw, 0.7rem);
}

/* Nav Links - Balanced Fluid Sizing */
.navbar-modern .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    padding: clamp(0.5rem, 0.75vw, 0.6rem) clamp(0.7rem, 1.1vw, 0.95rem) !important;
    margin: 0 clamp(0.05rem, 0.12vw, 0.12rem);
    border-radius: clamp(7px, 0.9vw, 9px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-modern .nav-link::after {
    content: '';
    position: absolute;
    bottom: clamp(0.15rem, 0.3vw, 0.25rem);
    /*left: 50%;*/
    right:10px;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: clamp(1.5px, 0.2vw, 2px);
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern .nav-link:hover::after,
.navbar-modern .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-modern .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-modern .nav-link.active {
    color: #ffffff !important;
    background: rgba(59, 130, 246, 0.15);
}

.navbar-modern .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-modern .nav-link i {
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    margin-right: clamp(0.35rem, 0.55vw, 0.45rem);
    opacity: 0.9;
}

.navbar-modern .nav-link-text {
    display: inline-block;
}

/* Dropdown Menus - Balanced Fluid Sizing */
.navbar-modern .dropdown-menu {
    background: rgba(30, 41, 59, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: clamp(9px, 1.1vw, 11px) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25) !important;
    padding: clamp(0.4rem, 0.6vw, 0.5rem) 0 !important;
    margin-top: clamp(0.4rem, 0.6vw, 0.5rem) !important;
    backdrop-filter: blur(20px);
    min-width: clamp(170px, 14vw, 210px);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-modern .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: clamp(0.5rem, 0.8vw, 0.6rem) clamp(0.9rem, 1.4vw, 1.15rem) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-size: clamp(0.8rem, 0.95vw, 0.85rem);
    font-weight: 500;
    border-radius: 0;
}

.navbar-modern .dropdown-item:first-child {
    border-radius: clamp(10px, 1.2vw, 12px) clamp(10px, 1.2vw, 12px) 0 0;
}

.navbar-modern .dropdown-item:last-child {
    border-radius: 0 0 clamp(10px, 1.2vw, 12px) clamp(10px, 1.2vw, 12px);
}

.navbar-modern .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #ffffff !important;
    padding-left: clamp(1.15rem, 1.6vw, 1.35rem) !important;
}

.navbar-modern .dropdown-item i {
    width: clamp(17px, 1.2vw, 19px);
    text-align: center;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-right: clamp(0.55rem, 0.8vw, 0.7rem);
    opacity: 0.85;
}

.navbar-modern .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: clamp(0.4rem, 0.6vw, 0.5rem) 0 !important;
}

.navbar-modern .dropdown-toggle::after {
    margin-left: clamp(0.35rem, 0.6vw, 0.5rem);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Toggle Button - Balanced Fluid Sizing */
.navbar-modern .navbar-toggler {
    border: clamp(1px, 0.15vw, 1.5px) solid rgba(255, 255, 255, 0.15) !important;
    border-radius: clamp(7px, 0.9vw, 9px) !important;
    padding: clamp(0.4rem, 0.65vw, 0.5rem) clamp(0.55rem, 0.85vw, 0.7rem) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern .navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.navbar-modern .navbar-toggler:focus {
    box-shadow: 0 0 0 clamp(2px, 0.3vw, 3px) rgba(255, 255, 255, 0.1) !important;
}

.navbar-modern .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Container Fluid - Adaptive Padding */
.navbar-modern .container-fluid {
    padding-left: clamp(0.75rem, 1.9vw, 1.4rem);
    padding-right: clamp(0.75rem, 1.9vw, 1.4rem);
}

/* Mobile Menu - Adaptive */
@media (max-width: 991.98px) {
    .navbar-modern .navbar-collapse {
        margin-top: clamp(0.5rem, 1vw, 0.75rem);
        padding-top: clamp(0.5rem, 1vw, 0.75rem);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - clamp(60px, 10vw, 80px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-modern .nav-link {
        padding: clamp(0.55rem, 1vw, 0.6875rem) clamp(0.875rem, 1.5vw, 1rem) !important;
        margin: clamp(0.15rem, 0.3vw, 0.25rem) 0;
        min-height: clamp(40px, 5vw, 44px);
        display: flex;
        align-items: center;
    }
    
    .navbar-modern .nav-link::after {
        display: none;
    }
    
    .navbar-modern .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar-modern .dropdown-menu {
        background: rgba(30, 41, 59, 0.98) !important;
        margin-left: clamp(0.25rem, 0.6vw, 0.5rem);
        margin-top: clamp(0.15rem, 0.3vw, 0.25rem);
        margin-bottom: clamp(0.35rem, 0.6vw, 0.5rem);
        border-radius: clamp(8px, 1vw, 10px) !important;
        position: static !important;
        width: calc(100% - clamp(0.5rem, 1vw, 1rem));
        max-width: none;
    }
    
    .navbar-modern .dropdown-item {
        padding: clamp(0.55rem, 0.9vw, 0.6875rem) clamp(0.875rem, 1.3vw, 1rem) !important;
        min-height: clamp(38px, 5vw, 44px);
    }
    
    .navbar-modern .dropdown-item:hover {
        padding-left: clamp(1.1rem, 1.6vw, 1.25rem) !important;
    }
    
    .navbar-modern .navbar-brand-text {
        display: none;
    }
}

/* Landscape Orientation */
@media (max-width: 991.98px) and (orientation: landscape) {
    .navbar-modern .navbar-collapse {
        max-height: calc(100vh - clamp(50px, 8vw, 60px));
    }
    
    .navbar-modern .nav-link {
        padding: clamp(0.45rem, 0.8vw, 0.5rem) clamp(0.7rem, 1.2vw, 0.875rem) !important;
        min-height: clamp(36px, 4.5vw, 40px);
    }
    
    .navbar-modern .dropdown-item {
        padding: clamp(0.45rem, 0.8vw, 0.5rem) clamp(0.7rem, 1.2vw, 0.875rem) !important;
        min-height: clamp(34px, 4.5vw, 38px);
    }
}

/* ========================================
   Card Components
   ======================================== */

.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    background: white;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    border: none;
    font-weight: 600;
}

/* ========================================
   Button Styles
   ======================================== */

.btn {
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition-normal);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-gradient);
}

.btn-success {
    background: var(--success-gradient);
}

.btn-warning {
    background: var(--warning-gradient);
}

.btn-info {
    background: var(--info-gradient);
}

.btn-danger {
    background: var(--danger-gradient);
}

.btn-login {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.4);
}

/* ========================================
   Form Styles
   ======================================== */

.form-control {
    border-radius: var(--border-radius-md);
    border: 2px solid #e9ecef;
    transition: var(--transition-normal);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

.input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    border-right: none;
}


.form-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent !important;
  color: var(--bs-dropdown-link-color) !important;
}
/* Login specific form styles */
.login-card .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.login-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.login-card .input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px 0 0 12px;
    border-right: none;
}

/* ========================================
   Alert Styles
   ======================================== */

.alert {
padding:0rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Badge Styles
   ======================================== */

.badge {
    border-radius: var(--border-radius-xl);
    font-weight: 500;
}

/* ========================================
   Dropdown Styles
   ======================================== */

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Table Styles
   ======================================== */

.table {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* ========================================
   Dashboard Specific Styles
   ======================================== */

/* Page Headers */
.page-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.dashboard-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.dashboard-header h1 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-header .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.dashboard-header .icon-color {
    color: white;
}

.admin-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.profile-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

/* Stat Cards */
.stat-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3,
.stat-card h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card.bg-primary {
    background: var(--primary-gradient) !important;
}

.stat-card.bg-success {
    background: var(--success-gradient) !important;
}

.stat-card.bg-info {
    background: var(--info-gradient) !important;
}

.stat-card.bg-warning {
    background: var(--warning-gradient) !important;
    color:white !important;
}

/* Company Stat Cards */
.company-stat-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    color: white;
}

.company-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Navigation Cards */
.nav-card,
.quick-action-card {
    transition: var(--transition-fast);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
}

.nav-card:hover,
.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* License Info */
.license-info {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: none;
    box-shadow: var(--shadow-md);
}

/* Action Cards */
.action-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Activity Cards */
.activity-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Section Headers */
.section-header {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ========================================
   Profile Specific Styles
   ======================================== */

.profile-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.info-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.api-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.api-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.device-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    transition: var(--transition-normal);
}

.device-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* ========================================
   Login Page - Original Layout with Primary Colors
   ======================================== */

/* Login page body - original layout */
body.login-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--form-primary);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.landing-left,
.landing-right {
   flex: 1 1 0;
    min-width: 300px;
    height: 100vh;
    padding:3rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.login-container {
    flex: 1 1 0;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* start instead of center */
    align-items: center;
    /*padding: 2rem;*/
    box-sizing: border-box;
}
.reset-container {
    flex: 1 1 0;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* start instead of center */
    align-items: center;
    /*padding: 2rem;*/
    box-sizing: border-box;
}

/* Enhanced background with subtle patterns */
/*body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}*/

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main container - ORIGINAL THREE-COLUMN LAYOUT */
.landing-container {
   display: flex;
    flex-wrap: wrap;
    height: 100vh;
    margin: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 2rem;
}

/* Left side - Prominent Logo and Branding - ORIGINAL DESIGN */
.landing-left {
    /*flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;*/
    color: white;
   /* max-width: 35%;
    position: relative;*/
}

/*.landing-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 50%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}*/

.welcome-content {
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.welcome-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ef4823, #ff6b35);
    border-radius: 2px;
}

.welcome-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
}

/* Right side content - ORIGINAL DESIGN */
.landing-right {
    /*flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;*/
    color: white;
    /*max-width: 35%;
    position: relative;*/
}
/*.landing-container::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 100vh;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite reverse;
    pointer-events: none;
}*/
/*.landing-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 100vh;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite reverse;
    pointer-events: none;
}*/

.features-content {
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ef4823);
    border-radius: 2px;
}

.features-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: #ef4823;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
    color: #ff6b35;
}

/* Center - Login Form Container - ORIGINAL SIZE */
.login-container {
    /*flex: 0 0 30%;
    max-width: 510px;
    min-width: 425px;
    position: relative;
    z-index: 10;*/
    animation: fadeInUp 0.8s ease-out;
}
.reset-container {
    /*flex: 0 0 30%;
    max-width: 510px;
    min-width: 425px;
    position: relative;
    z-index: 10;*/
    animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login card - Advanced and Modern - ORIGINAL DESIGN */
.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    position: relative;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4823, #ff6b35, #ef4823);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Login header - Prominent Logo Display - ORIGINAL DESIGN */
.login-header {
    background: white;
    padding: 1.2rem 2.5rem 2rem 4.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/*.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.05) 2px,
        rgba(255, 255, 255, 0.05) 4px
    );
    animation: slide 20s linear infinite;
}*/

@keyframes slide {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* Brand Logo - PROMINENT AND LARGE - ORIGINAL DESIGN */
.brand-logo {
    margin-bottom: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    background: transparent;
}

.app-logo {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    background: transparent;
}

.app-logo svg {
    max-width: 450px;
    max-height: 180px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    background: transparent;
}

.app-logo:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

/* Login form - Advanced and Interactive - ORIGINAL SIZE */
.login-form {
    padding: 2rem 2.5rem;
    background: transparent;
    border-radius: 0 0 25px 25px;
    position: relative;
    overflow: hidden;
}

/*.login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4823, transparent);
    animation: scan 3s ease-in-out infinite;
}*/

@keyframes scan {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.login-form::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(239, 72, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.login-form .form-group {
    margin-bottom: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}

.login-form .form-group:hover {
    transform: translateX(5px);
}

.login-form .form-group::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, #ef4823, #ff6b35);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.login-form .form-group:focus-within::before {
    height: 100%;
    top: 0;
}

.login-form .form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.login-form .form-group:focus-within .form-label {
    color: #ef4823;
    transform: translateY(-2px);
}

.login-form .form-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4823, #ff6b35);
    transition: width 0.3s ease;
}

.login-form .form-group:focus-within .form-label::after {
    width: 100%;
}

.login-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.login-form .input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 1.2rem;
    z-index: 3;
    transition: all 0.3s ease;
}

.login-form .form-control.has-icon {
    padding-left: 3.2rem;
}

.login-form .form-control {
    width: 100%;
    padding: 0.2rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0;
    background: white;
    transition: all 0.3s ease;
    min-height: 55px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.login-form .form-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 72, 35, 0.05), transparent);
    transition: left 0.5s ease;
}

.login-form .form-control:focus::before {
    left: 100%;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #ef4823;
    background: white;
    box-shadow: 
        0 0 0 3px rgba(239, 72, 35, 0.1),
        0 7px 21px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.login-form .form-control::placeholder {
    color: #95a5a6;
    font-weight: 400;
    transition: all 0.3s ease;
}

.login-form .form-control:focus::placeholder {
    color: #ef4823;
    transform: translateX(8px);
}

/* Advanced form elements - ORIGINAL SIZE */
.login-form .form-check {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-form .form-check::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 72, 35, 0.1), transparent);
    transition: left 0.6s ease;
}

.login-form .form-check:hover::before {
    left: 100%;
}

.login-form .form-check:hover {
    background: #e9ecef;
    border-color: #ef4823;
    transform: translateX(4px);
}

.login-form .form-check-input {
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.8rem;
    margin-left: 0rem;
    border: 2px solid #95a5a6;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.login-form .form-check-input:checked {
    background-color: #ef4823;
    border-color: #ef4823;
    box-shadow: 0 0 0 3px rgba(239, 72, 35, 0.2);
    transform: scale(1.1);
}

.login-form .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    animation: checkmark 0.3s ease-out;
}

@keyframes checkmark {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.login-form .form-check-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: black;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.login-form .form-check:hover .form-check-label {
    color: #ef4823;
}

/* Advanced Login Button - ORIGINAL SIZE */
.login-form .btn-login {
    width: 100%;
    padding: 1.2rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    /*background: #ef4823;*/
    background: var(--primary-gradient);
    border: none;
    border-radius: 0;
    color: white;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 7px 21px transparent;
    margin-top: 0.8rem;
}

.login-form .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-form .btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-form .btn-login:hover::before {
    left: 100%;
}

.login-form .btn-login:hover::after {
    opacity: 1;
}

.login-form .btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px transparent);
}

.login-form .btn-login:active {
    transform: translateY(-1px);
}

/* Forgot Password Link - ORIGINAL SIZE */
.login-form .forgot-password {
    display: block;
    text-align: center;
    color: #ff6b35;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0rem;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-form .forgot-password::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 130, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.login-form .forgot-password::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6382f1, #4f6be0);
    transition: width 0.3s ease;
}

.login-form .forgot-password:hover::before {
    left: 100%;
}

.login-form .forgot-password:hover::after {
    width: 100%;
}

.login-form .forgot-password:hover {
    color: #808080;
    background: rgba(99, 130, 241, 0.1);
    transform: translateY(-2px);
}

/* Verify-2f*/



        .verification-content {
            max-width: 500px;
            text-align: right;
        }

        .verification-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .verification-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .security-list {
            list-style: none;
            margin-bottom: 2rem;
        }

        .security-item {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-bottom: 1rem;
            font-size: 1rem;
            opacity: 0.9;
        }

        .security-item i {
            margin-left: 0.75rem;
            font-size: 1.25rem;
            color: var(--primary-light);
        }

        .twofa-container {
            flex: 1 1 0;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            /* padding: 2rem; */
            box-sizing: border-box;
            position: relative;
            z-index: 10;
        }

        .twofa-card {
            background: var(--surface-color);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(20px);
            animation: slideUp 0.6s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .twofa-header {
            background: linear-gradient(135deg, #6c757d 10%, var(--primary-dark) 60%);
            padding: 0rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }


        .twofa-form {
            padding: 0.5rem 2rem;
        }


        .timer-display {
            background: linear-gradient(135deg, var(--warning-color), #fb923c);
            color: white;
            padding: 0.2rem 1rem;
            border-radius: var(--radius-md);
            text-align: center;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.3rem;
            box-shadow: var(--shadow-md);
        }

        .timer-display i {
            margin-right: 0.5rem;
        }



        .verification-code {
            text-align: center;
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 0.25rem;
            font-family: 'Courier New', monospace;
        }




        .security-notice {
            background: rgba(59, 130, 246, 0.05);
            border: 1px solid rgba(59, 130, 246, 0.1);
            border-radius: var(--radius-md);
            padding: 1rem;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .security-notice i {
            color: var(--primary-color);
            margin-right: 0.5rem;
        }


        .help-content {
            max-width: 500px;
        }

        .help-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .help-description {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .help-steps {
            list-style: none;
            margin-bottom: 2rem;
        }

        .help-step {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 1rem;
            opacity: 0.9;
        }

        .help-step i {
            margin-right: 0.75rem;
            font-size: 1.25rem;
            color: var(--primary-light);
            width: 20px;
        }

        @media (max-width: 992px) {
                        .verification-content, .help-content {
                max-width: 100%;
                text-align: center;
            }

            .security-item, .help-step {
                justify-content: center;
            }

            .verification-title, .help-title {
                font-size: 2rem;
            }

            .twofa-container {
                order: -1;
            }
        }
/*Forgot Password Style*/


/* Left side content */

        .security-content {
            max-width: 500px;
            text-align: right;
        }

        .security-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .security-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .security-list {
            list-style: none;
            margin-bottom: 2rem;
        }

        .security-item {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-bottom: 1rem;
            font-size: 1rem;
            opacity: 0.9;
        }

        .security-item i {
            margin-left: 0.75rem;
            font-size: 1.25rem;
            color: var(--primary-light);
        }

        /* Center reset form */
        .reset-container {
            position: relative;
            z-index: 10;
        }

        .reset-card {
            background: var(--surface-color);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(20px);
            animation: slideUp 0.6s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .reset-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            padding: 2rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

      /*  .reset-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 2px,
                rgba(255, 255, 255, 0.05) 2px,
                rgba(255, 255, 255, 0.05) 4px
            );
            animation: slide 20s linear infinite;
        }*/
 .reset-header-forgot {
            background: linear-gradient(135deg, #6c757d 0%, var(--primary-dark) 100%);
            padding: 0rem;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        @keyframes slide {
            0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
            100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
        }

        .brand-logo {
            position: relative;
            z-index: 2;
            margin-bottom: 1rem;
}

.brand-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            display: block;
            opacity: 0.95;
        }

        .brand-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            letter-spacing: -0.025em;
        }

        .brand-subtitle {
            font-size: 0.8rem;
            opacity: 0.9;
            margin-top: 0.25rem;
            font-weight: 400;
            margin-bottom:0.5rem;
        }

        .reset-form {
            padding: 2rem;
        }

        .form-header {
            text-align: center;
            margin-bottom: 0rem;
        }

        .form-header-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-header-subtitle {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom:0rem;
        }


        .recovery-content {
            max-width: 500px;
        }

        .recovery-title {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .recovery-description {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .recovery-steps {
            list-style: none;
        }

        .recovery-step {
            display: flex;
            align-items: center;
    margin-bottom: 1rem;
            font-size: 1rem;
            opacity: 0.9;
        }

        .recovery-step i {
            margin-right: 0.75rem;
            font-size: 1.25rem;
            color: var(--primary-light);
        }

        /* Form styles */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
    display: inline-block;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-control {
            width: 100%;
            padding: 0.5rem 1rem;
            font-size: 1rem;
            line-height: 1.5;
            color: var(--text-primary);
            background-color: var(--surface-color);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            transition: all 0.2s ease-in-out;
            font-family: inherit;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--border-focus);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .form-control::placeholder {
            color: var(--text-muted);
        }

        .input-group {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 1.125rem;
            z-index: 5;
        }

        .form-control.has-icon {
            padding-left: 3rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
    font-weight: 500;
            line-height: 1.5;
            border: none;
            border-radius: var(--radius-md);
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--primary-dark) 0%, #dee2e6 100%);
            box-shadow: var(--shadow-lg);
            transform: translateY(-1px);
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-link {
            background: none;
            color: var(--primary-color);
            text-decoration: none;
            padding: 0;
            border: none;
            font-size: 0.875rem;
        }

        .btn-link:hover {
            color: var(--primary-dark);
    text-decoration: underline;
        }

        .d-grid {
            display: grid;
        }

        .w-100 {
            width: 100%;
        }

        .text-center {
    text-align: center;
        }

        .mt-3 {
            margin-top: 1rem;
        }

        .mb-3 {
            margin-bottom: 1rem;
        }

        /* Alert styles */
        .alert {
            padding: 0rem 1rem;
            margin-bottom: 1rem;
            border: 1px solid transparent;
            border-radius: var(--radius-md);
            font-size: 0.875rem;
        }

        .alert-danger {
            background-color: #fef2f2;
            border-color: #fecaca;
            color: #dc2626;
            width: auto;
        }

        .alert-success {
            background-color: #f0fdf4;
            border-color: #bbf7d0;
            color: #16a34a;
        }

        /* Loading animation */
        .btn-loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid transparent;
            border-top-color: currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .security-note {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: var(--radius-md);
            padding: 1rem;
    margin-top: 1.5rem;
            font-size: 0.875rem;
            color: var(--success-color);
        }

        .security-note i {
            margin-right: 0.5rem;
        }

        /* Responsive design */
        @media (max-width: 1200px) {

            .security-title, .recovery-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 992px) {

                        .reset-container {
                max-width: 400px;
                width: 100%;
            }
        }

        @media (max-width: 576px) {
                .brand-logo {
            margin-bottom: 0rem;
        }
        .form-group {
    margin-bottom: 0rem;
}
.form-label{
margin-bottom:0rem;}

.security-notice
{
padding:0.2rem 1rem;
margin-top:0rem;
}
        .form-header-subtitle{
                    margin-bottom: 0rem;

        }
            .timer-display {
            padding: 0.2rem 1rem;
            margin-bottom: 0.2rem;
            }
            .reset-card {
                margin: 0;
            }

            .reset-form {
                padding: 1.5rem;
            }

            .reset-header {
                padding: 1.5rem;
            }
        }











/* Responsive design - ORIGINAL BREAKPOINTS */
@media (max-width: 1200px) {
    .landing-container {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .landing-left,
    .landing-right {
        flex: 0 0 32%;
        max-width: 32%;
        display:none;
    }
    
    .login-container {
        flex: 0 0 36%;
        max-width: 480px;
        min-width: 400px;
    }
    /* .reset-container {
        flex: 0 0 36%;
        max-width: 480px;
        min-width: 400px;
    }*/
    .form-header {
    text-align: center;
    margin-bottom: 0.5rem;
}
.security-note{
margin: 0rem 0;
}
}

@media (max-width: 991px) {
    .landing-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        gap: 2rem;
        padding: 2rem;
    }
    
    .landing-left,
    .landing-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        display:none;
    }
    
    .login-container {
        flex: none;
        max-width: 500px;
        min-width: 400px;
        width: 100%;
    }
    
    .welcome-content,
    .features-content {
        max-width: 600px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .login-card {
        margin: 0 1rem;
    }
    
    .app-logo svg {
        max-width: 350px;
        max-height: 140px;
    }
}

@media (max-width: 576px) {
    .landing-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .features-title {
        font-size: 1.8rem;
    }
    
    .login-container {
        max-width: 100%;
        min-width: 100%;
        margin: 0;
    }
    
    .login-form {
        padding: 1.5rem 2rem;
    }
    
    .app-logo svg {
        max-width: 300px;
        max-height: 120px;
    }
}
@media (max-width: 576px) and (min-width: 0px) {
.landing-left,.landing-right {
        max-width: 100%;
        order: 1;
        display:none;
    }

}
/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .login-form .form-control {
        min-height: 48px;
        font-size: 16px;
    }
    
    .login-form .btn-login {
        min-height: 48px;
        font-size: 16px;
    }
    
    .login-form .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ======================================== */

/* Extra Large Desktop (1600px and above) */
@media (min-width: 1600px) {
    .login-container {
        /*max-width: 500px;*/
    }
    
    .app-logo svg {
        max-width: 350px;
        max-height: 140px;
    }
    
    .login-form {
        padding: 3rem 4.5rem;
    }
    .right-container{
    padding: 0.4rem 1.1rem;
    }
}
@media (min-width: 1025px) {
    .reset-container {
        align-self: flex-start;
padding:2rem;
    }
}
/* Large Desktop (1400px - 1599px) */
@media (max-width: 1599px) and (min-width: 1400px) {

    
    .app-logo svg {
        max-width: 320px;
        max-height: 130px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .login-container {
        max-width: 460px;
    }
    
    .app-logo svg {
        max-width: 300px;
        max-height: 120px;
    }
}

/* Large Tablet (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .login-container {
        max-width: 440px;
    }
    
    .app-logo svg {
        max-width: 280px;
        max-height: 110px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .login-container {
        max-width: 420px;
    }
    
    .app-logo svg {
        max-width: 260px;
        max-height: 100px;
    }
    
    .login-form {
        padding: 0.2rem 1.75rem;
    }
    
    .login-header {
        padding: 2.25rem 1.75rem;
    }
}

/* Large Mobile (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .login-container {
        max-width: 400px;
        padding: 0 0.5rem;
    }
    
    .app-logo svg {
        max-width: 240px;
        max-height: 90px;
    }
    
    .login-form {
        padding: 2rem 1.5rem;
    }
    
    .login-header {
        padding: 2rem 1.5rem;
    }
}

/* Mobile (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .login-container {
        max-width: 380px;
        padding: 0 0.5rem;
    }
    
    .app-logo svg {
        max-width: 220px;
        max-height: 85px;
    }
    
    .login-form {
        padding: 1.75rem 1.25rem;
    }
    
    .login-header {
        padding: 1.75rem 1.25rem;
    }
}

/* Small Mobile (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .login-container {
        max-width: 350px;
        padding: 0 0.5rem;
    }
    
    .app-logo svg {
        max-width: 200px;
        max-height: 80px;
    }
    
    .login-form {
        padding: 1.5rem 1rem;
    }
    
    .login-header {
        padding: 1.5rem 1rem;
    }
}

/* Very Small Mobile (320px - 374px) */
@media (max-width: 374px) and (min-width: 320px) {
    .login-container {
        max-width: 320px;
        padding: 0 0.25rem;
    }
    
    .app-logo svg {
        max-width: 180px;
        max-height: 70px;
    }
    
    .login-form {
        padding: 1.25rem 0.75rem;
    }
    
    .login-header {
        padding: 1.25rem 0.75rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .login-container {
        max-width: 300px;
        padding: 0 0.25rem;
    }
    
    .app-logo svg {
        max-width: 160px;
        max-height: 60px;
    }
    
    .login-form {
        padding: 1rem 0.5rem;
    }
    
    .login-header {
        padding: 1rem 0.5rem;
    }
}

/* ========================================
   LANDSCAPE MODE OPTIMIZATION
   ======================================== */

/* Landscape Mobile (height < 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    body.login-page {
        height: 100vh;
        overflow: hidden;
    }
    
    .landing-container {
        height: 100vh;
        padding: 0.5rem;
    }
    
    .login-container {
        max-width: 400px;
        margin: 0;
    }
    
    .login-header {
        padding: 1.5rem 1.5rem;
    }
    
    .login-form {
        padding: 1.5rem 1.5rem;
    }
    
    .app-logo svg {
        max-height: 80px;
    }
    
    .login-form .form-group {
        margin-bottom: 1rem;
    }
    
    .login-form .form-check {
        margin-bottom: 1.5rem;
    }
    
    .login-form .forgot-password {
    margin-top: 1rem;
    }
}

/* Very Short Landscape (height < 400px) */
@media (max-height: 400px) and (orientation: landscape) {
    .login-header {
        padding: 1rem 1.5rem;
    }
    
    .login-form {
        padding: 1rem 1.5rem;
    }
    
    .app-logo svg {
        max-height: 60px;
    }
    
    .brand-logo {
        margin-bottom: 0.75rem;
    }
    
    .login-form .form-group {
        margin-bottom: 0.75rem;
    }
    
    .login-form .form-control {
        padding: 0.625rem 0.875rem;
        min-height: 40px;
    }
    
    .login-form .btn-login {
        padding: 0.625rem 1.5rem;
        min-height: 40px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATION
   ======================================== */

/* Touch devices - ensure proper sizing */
@media (hover: none) and (pointer: coarse) {
    .login-form .form-control {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .login-form .btn-login {
        min-height: 48px;
        font-size: 16px;
    }
    
    .login-form .form-check-input {
        min-width: 20px;
        min-height: 20px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .login-card {
        border-width: 0.5px;
    }
    
    .login-form .form-control {
        border-width: 1px;
    }
}

/* ========================================
   Form Wizard Specific Styles
   ======================================== */

.breadcrumb {
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.progress {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-gradient);
}

/* Form Steps */
.step-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form validation styling */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-success {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warning {
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-info {
    background: var(--info-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

.bg-gradient-success {
    background: var(--success-gradient);
}

.bg-gradient-warning {
    background: var(--warning-gradient);
}

.bg-gradient-info {
    background: var(--info-gradient);
}

.bg-gradient-danger {
    background: var(--danger-gradient);
}

/* Animation utilities */
.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Hover utilities */
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .navbar,
    .btn,
    .footer-text {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white !important;
    }
}
 
/* ========================================
   Logo & Branding Styles
   ======================================== */

/* Main application logo */
.app-logo {
    display: flex;
    transition: all 0.3s ease;
}

.app-logo svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    display: block;
}

/* Logo size variants */
.logo-xs svg {
    max-width: 120px;
    max-height: 48px;
}

.logo-sm svg {
    max-width: 180px;
    max-height: 72px;
}

.logo-md svg {
    max-width: 240px;
    max-height: 96px;
}

.logo-lg svg {
    max-width: 300px;
    max-height: 120px;
}

.logo-xl svg {
    max-width: 400px;
    max-height: 160px;
}

/* Logo in navigation */
.navbar .app-logo svg {
    max-height: 40px;
    width: auto;
}

/* Logo in cards/headers */
.card-header .app-logo svg {
    max-height: 60px;
    width: auto;
}

/* Logo in login/forms */
.login-header .app-logo svg {
    max-width: 400px;
    max-height: 100px;
}

/* Logo hover effects */
.app-logo:hover {
    transform: scale(1.05);
}

/* Logo in dark backgrounds */
.logo-light svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Logo in light backgrounds */
.logo-dark svg {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-lg svg {
        max-width: 250px;
        max-height: 100px;
    }
    
    .logo-xl svg {
        max-width: 300px;
        max-height: 120px;
    }
}

@media (max-width: 576px) {
    .logo-md svg {
        max-width: 200px;
        max-height: 80px;
    }
    
    .logo-lg svg {
        max-width: 200px;
        max-height: 80px;
    }
    
    .logo-xl svg {
        max-width: 250px;
        max-height: 100px;
    }
}

@media (max-width: 375px) {
    .logo-lg svg {
        max-width: 180px;
        max-height: 70px;
    }
    
    .logo-xl svg {
        max-width: 200px;
        max-height: 80px;
    }
}

@media (max-width: 320px) {
    .logo-lg svg {
        max-width: 160px;
        max-height: 60px;
    }
    
    .logo-xl svg {
        max-width: 180px;
        max-height: 70px;
    }
}

/* Old responsive code removed - replaced with comprehensive breakpoints above */

/* ========================================
   General Responsive Styles
   ======================================== */

@media (max-width: 768px) {
    .page-header,
    .admin-header,
    .profile-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .quick-action-card {
        margin-bottom: 1rem;
    }
    
    .brand-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .stat-card h3,
    .stat-card h4 {
        font-size: 1.5rem;
    }
}
 
/* Old enhanced form responsiveness removed - replaced with comprehensive breakpoints above */
 
/* ========================================
   Responsive Design for Landscape Login
   ======================================== */

/* Large Desktop - Full Landscape Layout */
@media (min-width: 1200px) and (max-width: 1600px) {
    .landing-container {
        gap: 3rem;
        padding: 0rem;
    }
    


    .app-logo svg {
        max-width: 425px;
        max-height: 170px;
    }
    
    .login-form {
        padding: 1.4rem 1.8rem;
    }
    
    .welcome-title {
        font-size: 2.6rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .features-title {
        font-size: 2.1rem;
    }
}

/* Desktop - Standard Landscape Layout */
@media (max-width: 1599px) and (min-width: 1400px) {
    .landing-container {
        gap: 2.5rem;
        padding: 0rem;
    }
    
    .login-container {
       /* max-width: 510px;
        min-width: 425px;*/
    }

    .app-logo svg {
        max-width: 383px;
        max-height: 153px;
    }
    
    .login-form {
        padding: 0.7rem 4.1rem;
    }
    .right-container{
    padding:0.1rem 4.1rem;
    }
    .welcome-title {
        font-size: 3rem;
    }
    
    .features-title {
        font-size: 2.5rem;
    }
}

/* Medium Desktop - Compact Landscape */
@media (max-width: 1399px) and (min-width: 1200px) {
    .landing-container {
        gap: 2rem;
        padding: 0rem 2rem;
    }
    
    .login-container {
        max-width: 493px;
        min-width: 408px;
    }
    
    .app-logo svg {
        max-width: 357px;
        max-height: 143px;
    }
    
    .login-form {
        padding: 1.4rem 2.8rem;
    }
    .right-container{
    padding: 0.1rem 1.1rem;
    }

    
    .welcome-title {
        font-size: 2.6rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .features-title {
        font-size: 2.1rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

/* Small Desktop - Tight Landscape */
@media (max-width: 1199px) and (min-width: 992px) {
    .landing-container {
        gap: 1.5rem;
        padding: 1.5rem;
        display:block;
    }
    
    .login-container {
        max-width: 468px;
        min-width: 383px;
    }

    .app-logo svg {
        max-width: 340px;
        max-height: 136px;
    }
    
    .login-form {
        padding: 1.4rem 1.8rem;
    }
    
    .welcome-title {
        font-size: 2.4rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }
}

/* Tablet - Adaptive Layout */
@media (max-width: 991px) and (min-width: 768px) {
    .landing-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0.5rem;
        justify-content: flex-start;
    }
    
    .landing-left {
        max-width: 100%;
        order: 1;
    }
    
    .login-container {
        max-width: 510px;
        min-width: 425px;
        order: 2;
    }
    
    .landing-right {
        max-width: 100%;
        order: 3;
    }
    
    .app-logo svg {
        max-width: 340px;
        max-height: 136px;
    }
    
    .login-form {
        padding: 0rem 2.1rem;
    }
    
    .welcome-title {
        font-size: 2.6rem;
        margin-bottom: 1rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .features-title {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .features-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .feature-item {
        margin-bottom: 0;
        flex: 0 1 auto;
    }
}

/* Mobile - Stacked Layout */
@media (max-width: 767px) and (min-width: 576px) {
    .landing-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
        justify-content: center;
    }
    
    .landing-left {
        max-width: 100%;
        order: 1;
    }
    
    .login-container {
        max-width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .landing-right {
        max-width: 100%;
        order: 3;
    }
    
    .app-logo svg {
        max-width: 300px;
        max-height: 120px;
    }
    
    .login-form {
        padding: 1.4rem 1.8rem;
    }
    
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .features-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }
    
    .features-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .features-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .feature-item {
        margin-bottom: 0;
        flex: 0 1 auto;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Small Mobile - Compact Stacked */
@media (max-width: 575px) and (min-width: 480px) {
    .landing-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem;
        justify-content: center;
    }
    
    .landing-left {
        max-width: 100%;
        order: 1;
    }
    
    .login-container {
        max-width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .landing-right {
        max-width: 100%;
        order: 3;
    }
    
    .app-logo svg {
        max-width: 280px;
        max-height: 110px;
    }
    
    .login-form {
        padding: 1.8rem 1.2rem;
    }
    
    .login-header {
        padding: 1.8rem 1.2rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .welcome-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }
    
    .feature-item {
        margin-bottom: 0;
        flex: 0 1 auto;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .login-form .form-control {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        min-height: 55px;
    }
    
    .login-form .btn-login {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        min-height: 55px;
    }
}

/* Extra Small Mobile - Ultra Compact */
@media (max-width: 479px) and (min-width: 375px) {
    .landing-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.5rem;
        justify-content: flex-start;
    }
    
    .landing-left,.landing-right {
        max-width: 100%;
        order: 1;
        display:none;
    }
    .landing-left {
        max-width: 100%;
        order: 1;
    }
    
    .login-container {
        max-width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .landing-right {
        max-width: 100%;
        order: 3;
    }
    
    .app-logo svg {
        max-width: 260px;
        max-height: 100px;
    }
    
    .login-form {
        padding: 1.5rem 1rem;
    }
    
    .login-header {
        padding: 0rem 1rem;
    }
    .login-form .form-group {
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}
.login-form .form-check {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.5rem 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .welcome-title {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .feature-item {
        margin-bottom: 0;
        flex: 0 1 auto;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .login-form .form-control {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .login-form .btn-login {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        min-height: 50px;
    }
}

/* Landscape Mobile - Optimized for Horizontal */
@media (max-height: 500px) and (orientation: landscape) {
    body.login-page {
        height: 100vh;
        min-height: 100vh;
    }
    
    .landing-container {
        flex-direction: row;
        gap: 2rem;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .landing-left {
        max-width: 40%;
        order: 1;
    }
    
    .login-container {
        max-width: 45%;
        min-width: 350px;
        order: 2;
    }
    
    .welcome-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .login-header {
        padding: 1.5rem 1.5rem;
    }
    
    .login-form {
        padding: 1.5rem 1.5rem;
    }
    
    .app-logo svg {
        max-width: 280px;
        max-height: 110px;
    }
    
    .login-form .form-group {
        margin-bottom: 1rem;
    }
    
    .login-form .form-control {
        padding: 0.8rem 1rem;
        min-height: 45px;
    }
    
    .login-form .btn-login {
        padding: 0.8rem 1.5rem;
        min-height: 45px;
    }
    
    .login-form .form-check {
        margin: 1rem 0;
        padding: 0.6rem;
    }
}

/* Ultra Landscape Mobile - Very Compact */
@media (max-height: 400px) and (orientation: landscape) {
    .landing-container {
        gap: 1.5rem;
        padding: 0.8rem;
    }
    
    .landing-left {
        max-width: 35%;
    }
    
    .login-container {
        max-width: 50%;
        min-width: 300px;
    }
    
    .welcome-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .login-header {
        padding: 1rem 1rem;
    }
    
    .login-form {
        padding: 1rem 1rem;
    }
    
    .app-logo svg {
        max-width: 240px;
        max-height: 90px;
    }
    
    .brand-logo {
        margin-bottom: 1rem;
    }
    
    .login-form .form-group {
        margin-bottom: 0.8rem;
    }
    
    .login-form .form-control {
        padding: 0.6rem 0.8rem;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    .login-form .btn-login {
        padding: 0.6rem 1.2rem;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    .login-form .form-check {
        margin: 0.8rem 0;
        padding: 0.5rem;
    }
    
    .login-form .form-check-input {
        width: 1.2rem;
        height: 1.2rem;
        margin-right: 0.6rem;
    }
    
    .login-form .form-check-label {
        font-size: 0.85rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .login-form .form-control {
        min-height: 48px;
        font-size: 16px;
    }
    
    .login-form .btn-login {
        min-height: 48px;
        font-size: 16px;
    }
    
    .login-form .form-check-input {
        min-width: 24px;
        min-height: 24px;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .login-card {
        border-width: 0.5px;
    }
    
    .login-form .form-control {
        border-width: 1px;
    }
}


/* .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
  }*/
  .hidden { display: none; }
  .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
  }
  .modal-content button {
    margin-top: 15px;
    padding: 8px 16px;
    border: none;
    /*background: var(--primary-gradient);*/
    color: white;
    border-radius: 8px;
    cursor: pointer;
  }
  .modal-content button:hover {
    background: #0056b3;
  }
.modal-footer.center-btn {
    display: flex;
    justify-content: center;
}

.custom-btn {
    margin-top: 0 !important;
    padding: 8px 16px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    cursor: pointer;
}
.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.25rem 1rem;
}
 .hero-section {
            background: var(--success-gradient);
            color: white;
            padding: 4rem 0;
        }
        .feature-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .feature-card:hover {
            transform: translateY(-5px);
        }
        .api-endpoint {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            margin: 0.5rem 0;
            font-family: 'Courier New', monospace;
        }
        .method-get { color: #28a745; }
        .method-post { color: #007bff; }
        .method-put { color: #fd7e14; }
        .method-delete { color: #dc3545; }

.Whole-container {
    display: flex;
    height: 100vh;     /* full screen height */
    width: 100%;
    margin: 0;
    padding: 0;
}


.left-container {
    flex: 0 0 50%;
    /*background: #fce8e4;*/
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, #dee2e6 0%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.right-container {
    flex: 0 0 50%;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form-header-title-new {
            font-size: 3.25rem;
            font-weight: 600;
            color: black;
            margin-bottom: 0.5rem;
        }

        .form-header-subtitle-new {
            font-size: 1.2rem;
            color: black;
            line-height: 1.5;
            margin-bottom:0rem;
        }
        input:-webkit-autofill {
    background-color: #f8f9fa !important;
    -webkit-box-shadow: 0 0 0px 1000px #f8f9fa inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    transition: background-color 5000s ease-in-out 0s; /* trick to persist background */
}
 .form-control::placeholder {
        font-style: italic;
    }

 .checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-items li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #333;
}

.checklist-items i {
    color: #ff4500;
    margin-right: 10px;
    font-style: normal;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
}
.robot-img {
  max-width: 300px;
  height: auto;
}
.arrow-img {
   position: absolute;
  top: 144px;      /* Adjust based on your layout */
  left: 25%;
  width: 28vw;
  max-width: 100%;
  z-index: 2;
  transform: rotate(-40deg);
  pointer-events: none;
  height:auto;
}
@media (max-width: 1024px) {
  .Whole-container {
      height: 100vh;   /* take full viewport height */
      width: 100%;
      overflow: hidden; /* prevent scrolling */
  }

  .left-container {
      flex: 0 0 100%;   /* full width */
      height: 100%;     /* full height */
      text-align: center;
      align-items: center;
      justify-content: center; /* vertically center content */
      overflow: hidden; /* hide anything extra */
      padding: 1rem;    /* small padding */
      box-sizing: border-box;
  }

  .right-container {
      display: none; /* hide on mobile/tablet */
  }

  .arrow-img {
      display: none; /* hide arrow too */
  }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .form-header-title-new {
      font-size: 1.8rem;
  }
  .form-header-subtitle-new {
      font-size: 1rem;
  }
  .checklist-items li {
      font-size: 0.9rem;
  }
}
@media (max-width: 1366px) {

   .form-header-title-new {
      font-size: 2.8rem;
  }
  .form-header-subtitle-new {
      font-size: 2rem;
  }
  .checklist-items li {
      font-size: 0.9rem;
  }
}
/* Large screens (2K–4K: ≥2560px) */
@media (min-width: 2560px) {
  .form-header-title-new {
      font-size: 6rem;  /* bigger text */
  }

  .form-header-subtitle-new {
      font-size: 3.5rem;
  }

  .checklist-items li {
      font-size: 1.2rem;
  }

  .robot-img {
      max-width: 1000px;  /* allow bigger robot */
  }

  .arrow-img {
      width: 600px;
      height: auto;
      left:30%;
      top:344px;
  }

  .left-container,
  .right-container {
      padding: 4rem; /* more breathing room */
  }
  h1{
  font-size:4.5rem;
  }
 .features-title{
font-size:4.5rem;
  }
  .checklist-items {
    font-size: 2rem;
}
.checklist-items i
 {
    font-size: 2.5rem;
}
}
@media screen and (max-width: 1400px)  {
  .arrow-img {
    width: 26vw;
  }
}

/* ========================================
   JOBS PAGE - SIDEBAR LAYOUT WITH RESPONSIVE DESIGN
   ======================================== */

/* Main Jobs Container */
.jobs-page-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: calc(100vh - 100px);
    position: relative;
}

/* Sidebar - NOW ON RIGHT */
.jobs-sidebar {
display: flex;
    flex-direction: row;       /* Arrange sidebar items horizontally */
    flex-wrap: nowrap;         /* Keep them in one line (use wrap if you want it to break into new lines) */
    justify-content: flex-start; /* Align items to the left; use space-between or center if preferred */
    align-items: flex-start;   /* Align items vertically */
    gap: 20px;                 /* Equal horizontal spacing between sidebar cards */
    order: 1;
    flex: 0 0 auto;
    max-width: 100%;
    position: relative;
    top: 20px;
    height: auto;              /* Let height adjust naturally */
    overflow-x: auto;          /* Allow horizontal scroll if too wide */
    overflow-y: hidden;
    padding: 10px;             /* Optional: add some inner space */
    transition: all 0.3s ease;
}

.jobs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.jobs-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.jobs-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.jobs-sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sidebar Cards */
.sidebar-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.sidebar-card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.sidebar-card-header:hover {
    background: linear-gradient(135deg, #1a2332 0%, #2a3a4a 100%);
}

.sidebar-card-header .collapse-icon {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.sidebar-card-header:not(.collapsed) .collapse-icon {
    transform: rotate(0deg);
}

.sidebar-card-header.collapsed .collapse-icon {
    transform: rotate(-90deg);
}

/* Hide card body completely when collapsed */
.sidebar-card .collapse:not(.show) {
    display: none !important;
    height: 0;
    overflow: hidden;
}

.sidebar-card .collapse.show {
    display: block !important;
}

.sidebar-card-body {
    padding: 1.25rem;
}

/* Quick Stats in Sidebar - CLICKABLE */
.quick-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.quick-stat:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    text-decoration: none;
    color: inherit;
}

.quick-stat:active {
    transform: translateX(-3px) scale(0.98);
}

.quick-stat.stat-total {
    border-left-color: #007bff;
}

.quick-stat.stat-pending {
    border-left-color: #6c757d;
}

.quick-stat.stat-completed {
    border-left-color: #28a745;
}

.quick-stat.stat-failed {
    border-left-color: #dc3545;
}

.quick-stat.stat-risk {
    border-left-color: #007bff;
}

.quick-stat.stat-choice {
    border-left-color: #17a2b8;
}

.quick-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

/* Filter Section in Sidebar */
.filter-group {
    margin-bottom: 1.25rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

.filter-select:hover {
    border-color: #c3cfe2;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-buttons .btn {
    flex: 1;
}

/* Active Filters Badge */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Main Content Area - NOW ON LEFT */
.jobs-main-content {
 order: 2;
    flex: 1;
    min-width: 0;
}

/* Mobile Sidebar Toggle */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Job Table Enhancements */
.jobs-table-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
    overflow: hidden;
}

.jobs-table-card .table-responsive {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
}

/* Custom Scrollbar for Table */
.jobs-table-card .table-responsive::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.jobs-table-card .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.jobs-table-card .table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.jobs-table-card .table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.jobs-table-card .table-responsive::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

.jobs-table-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jobs-table-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jobs-count-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Enhanced Table - PERFECT ALIGNMENT */
.jobs-table {
    width: 100%;
    margin: 0;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

.jobs-table thead th {
    background: #343a40 !important;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 1rem 0.75rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 100;
    white-space: nowrap;
    vertical-align: middle;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jobs-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.jobs-table tbody tr:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jobs-table tbody td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle !important;
    font-size: 0.9rem;
    word-wrap: break-word;
    text-align: left;
}

/* Specific Column Widths - ORGANIZED */
.jobs-table .col-type { width: 100px; min-width: 100px; }
.jobs-table .col-jobid { width: 180px; min-width: 180px; }
.jobs-table .col-user { width: 150px; min-width: 150px; }
.jobs-table .col-industry { width: 130px; min-width: 130px; }
.jobs-table .col-location { width: 130px; min-width: 130px; }
.jobs-table .col-status { width: 110px; min-width: 110px; }
.jobs-table .col-uploaded { width: 110px; min-width: 110px; }
.jobs-table .col-ecfilename { width: 220px; min-width: 220px; }
.jobs-table .col-created { width: 100px; min-width: 100px; }
.jobs-table .col-actions { width: 280px; min-width: 280px; text-align: center; }

/* Center alignment for specific columns */
.jobs-table .col-status,
.jobs-table .col-uploaded,
.jobs-table .col-actions {
    text-align: center;
}

/* Ensure header and data columns match */
.jobs-table thead .col-actions,
.jobs-table tbody .col-actions {
    text-align: center !important;
}

/* Fix for badges and inline elements */
.jobs-table .badge {
    display: inline-block;
    vertical-align: middle;
}

/* Ensure buttons align in actions column */
.jobs-table .action-btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

/* Make sure all cells in a column have same width */
.jobs-table colgroup col {
    width: auto;
}

/* Mobile Job Cards */
.job-card-mobile {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.job-card-mobile:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.job-card-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.job-card-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.job-card-mobile-actions .btn {
    flex: 1 1 auto;
    min-width: 80px;
}

/* Responsive Breakpoints for Sidebar */
@media (max-width: 1200px) {
    .jobs-sidebar {
        flex: 0 0 280px;
        max-width: 280px;
    }
}

@media (max-width: 992px) {
    .jobs-page-container {
        flex-direction: column;
    }
    
    .jobs-sidebar {
        position: fixed;
        right: -100%;
        top: 0;
        bottom: 0;
        z-index: 999;
        max-width: 320px;
        width: 85%;
        background: white;
        box-shadow: var(--shadow-xl);
        max-height: 100vh;
        transition: right 0.3s ease;
    }
    
    .jobs-sidebar.active {
        right: 0;
    }
    
    .sidebar-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .jobs-main-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .jobs-sidebar {
        width: 90%;
        max-width: none;
    }
    
    .sidebar-card-body {
        padding: 1rem;
    }
    
    .quick-stat {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-stat-value {
        font-size: 1.25rem;
    }
    
    .quick-stat-label {
        font-size: 0.8rem;
    }
}

/* Page Header Enhanced */
.page-header-jobs {
    background: var(--primary-gradient) !important;
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header-jobs h2 {
    margin: 0;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-header-jobs {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header-actions {
        width: 100%;
    }
    
    .page-header-actions .btn {
        flex: 1;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state-icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h4 {
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: #868e96;
    margin-bottom: 2rem;
}

/* Action Buttons Enhanced */
.action-btn-group {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.action-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
    border: 1px solid;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.action-btn i {
    font-size: 0.9rem;
}

/* Pagination Enhanced */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
/*
    border-radius: var(--border-radius-md);
*/
}

.pagination {
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: #495057;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Sidebar Collapse Animation - FROM RIGHT */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.jobs-sidebar.active {
    animation: slideInRight 0.3s ease;
}

/* Table Row Status Indicator */
.jobs-table tbody tr {
    position: relative;
}

.jobs-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.2s ease;
}

.jobs-table tbody tr.status-completed::before {
    background: #28a745;
}

.jobs-table tbody tr.status-failed::before {
    background: #dc3545;
}

.jobs-table tbody tr.status-running::before {
    background: #ffc107;
}

.jobs-table tbody tr.status-pending::before {
    background: #6c757d;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .jobs-page-container {
        gap: 1rem;
    }
    
    .action-btn-group {
        gap: 0.25rem;
    }
    
    .action-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .action-btn i {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .page-header-jobs h2 {
        font-size: 1.5rem;
    }
    
    .jobs-table-header {
        padding: 1rem;
    }
    
    .jobs-table-title {
        font-size: 1.1rem;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }
}

/* Sidebar Close Button (Mobile) */
.sidebar-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .sidebar-close-btn {
        display: flex;
    }
}

/* Copy Button Animation */
@keyframes copied {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background: #28a745; }
    100% { transform: scale(1); }
}

button[data-copy-target].copied {
    animation: copied 0.4s ease;
}

/* Badge Enhancements */
.badge-type {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-status {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip Enhancement */
[title] {
    position: relative;
}

/* Print Styles for Jobs Page */
@media print {
    .jobs-sidebar,
    .sidebar-toggle-btn,
    .action-btn-group,
    .page-header-actions,
    .pagination-container {
        display: none !important;
    }
    
    .jobs-page-container {
        display: block;
    }
    
    .jobs-main-content {
        width: 100%;
    }
    
    .jobs-table tbody tr:hover {
        background: none;
        transform: none;
    }
}

/* ========================================
   EDIT JOB PAGES - RISK & COMPARION
   ======================================== */

/* Edit Banner - Purple Gradient Header */
.edit-banner {
    background: var(--primary-gradient) !important;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

.edit-banner h4 {
    margin: 0;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.edit-banner p {
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.edit-banner .d-flex {
    gap: 1rem;
}

/* Original Job Information Card */
.original-job-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #667eea;
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.original-job-info h6 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.original-job-info .info-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #495057;
}

.original-job-info .info-item strong {
    color: #212529;
    display: inline-block;
    min-width: 140px;
    font-weight: 600;
}

/* Risk Type Cards - Interactive and Clickable */
.card.risk-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e9ecef !important;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.card.risk-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2) !important;
    border-color: #007bff !important;
}

.card.risk-type-card h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card.risk-type-card:hover h6 {
    color: #007bff;
}

.card.risk-type-card small {
    color: #6c757d;
}

/* Enhanced Toggle Switches for Risk Types */
.risk-type-card .form-check-input {
    cursor: pointer;
    width: 3rem;
    height: 1.5rem;
    border: 2px solid #6c757d;
    background-color: #fff;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.risk-type-card .form-check-input:hover {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.risk-type-card .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.risk-type-card .form-check-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.risk-type-card .form-check-label {
    cursor: pointer;
    user-select: none;
    color: #333;
    font-weight: 600;
}

.risk-type-card .form-check-label:hover {
    color: #007bff;
}

.card.risk-type-card:hover .form-check-input {
    border-color: #007bff;
}

/* Edit Form Specific Styles */
.edit-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.edit-form-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #dee2e6;
}

.edit-form-header h3 {
    margin: 0;
    color: #212529;
    font-weight: 700;
    font-size: 1.25rem;
}

.edit-form-body {
    padding: 2rem;
}

/* Form Field Enhancements for Edit Pages */
.edit-form-body .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.edit-form-body .form-control,
.edit-form-body .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.edit-form-body .form-control:focus,
.edit-form-body .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.edit-form-body .form-control:disabled,
.edit-form-body .form-select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Locked Field Styling */
.locked-field {
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.locked-badge {
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Character Counter */
.character-counter {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive adjustments for edit pages */
@media (max-width: 768px) {
    .edit-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .edit-banner h4 {
        font-size: 1.25rem;
    }
    
    .edit-form-body {
        padding: 1.5rem;
    }
    
    .original-job-info .info-item strong {
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .edit-banner {
        padding: 1rem;
    }
    
    .edit-banner h4 {
        font-size: 1.1rem;
    }
    
    .edit-form-body {
        padding: 1rem;
    }
    
    .card.risk-type-card {
        margin-bottom: 0.75rem;
    }
}

/* ========================================
   MFA/2FA VERIFICATION PAGE - MODERN DESIGN
   ======================================== */

/* CSS variable fallbacks (in case not defined elsewhere) */
:root {
    --border-radius-md: 12px;
    --border-radius-xl: 18px;
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mfa-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, #dee2e6 0%);; /* subtle gray backdrop like screenshot */
}

/* Top header (logo + titles) */
.mfa-top { padding: 1rem 0 0.5rem; }
.mfa-logo-top { height: 40px; width: auto; display: block; margin: 0 auto 0.5rem; }
/* Desaturate header logo to remove color; keep close to body theme */
.mfa-logo-top { filter: saturate(0%) contrast(105%); opacity: 0.95; }

@media (max-width: 576px) {
  .mfa-logo-top { height: 32px; }
}

/* Lean left-aligned layout */
/* Centered card design */
.mfa-card-pro { width: 100%; max-width: 640px; background: #ffffff; border: 1px solid #d1d5db; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); overflow: hidden; }
.mfa-card-pro-header { background: linear-gradient(180deg, #0f172a 0%, #1f2937 100%); color: #fff; text-align: center; padding: 1.4rem 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mfa-header-icon { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 0.5rem; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); font-size: 1.25rem; }
.mfa-card-pro-title { margin: 0; font-weight: 800; font-size: 1.5rem; }
.mfa-card-pro-subtitle { margin-top: 0.2rem; opacity: 0.9; font-size: 0.9rem; }
.mfa-card-pro-body { padding: 1.5rem 1.5rem 1.25rem; }
.mfa-card-pro-h2 { text-align: center; font-weight: 700; font-size: 1.25rem; color: #111827; margin: 0 0 0.25rem; }
.mfa-card-pro-text { text-align: center; color: #6b7280; margin-bottom: 0.9rem; }
.mfa-timer-bar { background: #fb923c; color: #fff; border-radius: 8px; padding: 0.5rem 0.75rem; display: flex; justify-content: center; align-items: center; gap: 0.35rem; margin: 0 auto 0.9rem; max-width: 460px; font-weight: 700; }
.btn-verify-dark { background: #0f172a; color: #fff; border: none; height: 46px; border-radius: 8px; font-weight: 700; }
.btn-verify-dark:hover { background: #111827; }
.mfa-security-tip { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0.75rem 0.9rem; color: #374151; margin-top: 0.75rem; }

.mfa-left h2 { color: #111; font-size: 1rem; font-weight: 700; }
.mfa-left .mfa-timer { margin: 0.35rem auto 0; display: inline-flex; align-items: center; padding: 0.25rem 0.5rem; }

/* MFA brand logo */
.mfa-logo { height: 28px; width: auto; display: block; margin: 0 auto; }
.mfa-logo-inline { height: 56px; width: auto; }

@media (max-width: 576px) {
  .mfa-logo { height: 24px; }
  .mfa-logo-inline { height: 44px; }
}

@media (max-width: 768px) {
    .mfa-horizontal { gap: 0; padding: 0; }
    .mfa-left { min-width: 150px; }
    .mfa-right { min-width: 150px; }
    .mfa-center { width: 56%; }
}

@media (max-width: 576px) {
    .mfa-horizontal { gap: 0; padding: 0; }
    .mfa-left, .mfa-right { min-width: 130px; }
    .mfa-center { width: 60%; }
}

/* Remove old header styles for lean layout */

.mfa-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: slide 20s linear infinite;
    pointer-events: none;
}

.mfa-icon-wrapper {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.mfa-header h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.mfa-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Timer */
.mfa-timer {
    background: #eef2ff;
    color: #1f2937;
    padding: 0.35rem 0.6rem;
    margin: 0.25rem auto 0;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.2s ease;
}

.mfa-timer.timer-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: pulse 1s ease-in-out infinite;
}

.mfa-timer.timer-expired {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Instructions */
.mfa-instructions {
    padding: 1rem 1.25rem 0.75rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 2px solid #667eea;
}

.mfa-instructions h5 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.mfa-instructions p {
    color: #475569;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form */
.mfa-form { padding: 0.9rem 1rem; }

/* Verification Code Input */
.code-input-wrapper {
    position: relative;
}

.verification-code-input {
    font-size: 1.4rem;
    letter-spacing: 0.35rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    padding: 0.65rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    background: #f8fafc;
}

.verification-code-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 0.3rem rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.verification-code-input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* Trust Device Card */
.trust-device-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb; /* neutral border */
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    transition: background 0.2s ease;
}

/* Pill-style trust toggle */
.mfa-trust { background: transparent; border: none; padding: 0; }
.mfa-trust-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 6px 10px;
    background: #ffffff;
}
.mfa-trust-toggle .form-check-input { margin: 0; width: 2.25rem; height: 1.15rem; cursor: pointer; }
.mfa-trust-label { font-size: 0.85rem; color: #374151; }
.mfa-trust-toggle:hover { border-color: #d1d5db; }

.trust-device-card:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.trust-device-card .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border: 2px solid #10b981;
    cursor: pointer;
}

.trust-device-card .form-check-input:checked {
    background-color: #10b981;
    border-color: #10b981;
}

.trust-device-card .form-check-label {
    cursor: pointer;
    margin-left: 0.75rem;
    flex: 1;
}

.trust-device-card .form-check-label strong {
    color: #065f46;
    font-size: 1rem;
}

.trust-device-card .form-check-label small {
    color: #047857;
}

/* Buttons */
.mfa-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mfa-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mfa-form .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.mfa-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.mfa-form .btn-primary:active {
    transform: translateY(0);
}

/* Security Notice */
/* security notice removed */

.mfa-security-notice i {
    color: #f59e0b;
}

/* Help Section */
/* help section removed */

.mfa-help-section h6 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.help-list li i {
    color: #10b981;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mfa-page-container {
        padding: 0.75rem 0;
    }
    
    .mfa-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .mfa-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .mfa-header h2 {
        font-size: 1.5rem;
    }
    
    .mfa-timer { margin: -0.5rem 1rem 1rem; font-size: 0.85rem; }
    
    .mfa-instructions {
        padding: 1.25rem 1.5rem;
    }
    
    .mfa-form { padding: 1rem; }
    
    .verification-code-input { font-size: 1.2rem; letter-spacing: 0.25rem; padding: 0.75rem; }
    
    .mfa-security-notice { margin: 0 1rem 1rem; padding: 0.75rem 1rem; font-size: 0.85rem; }
    
    .mfa-help-section { padding: 0.9rem 1rem 1rem; }
}

@media (max-width: 576px) {
    .mfa-header { padding: 1.25rem 1rem 0.75rem; }
    
    .mfa-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
    
    .mfa-header h2 {
        font-size: 1.25rem;
    }
    
    .mfa-timer { margin: -0.5rem 1rem 0.75rem; padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    
    .mfa-instructions { padding: 0.75rem 1rem; }
    
    .mfa-instructions h5 {
        font-size: 1rem;
    }
    
    .mfa-form { padding: 0.75rem 1rem; }
    
    .verification-code-input { font-size: 1.05rem; letter-spacing: 0.18rem; padding: 0.6rem; }
    
    .trust-device-card { padding: 0.75rem; }
    
    .trust-device-card .form-check-input {
        width: 2.5rem;
        height: 1.25rem;
    }
    
    .mfa-security-notice {
        margin: 0 1rem 1rem;
        padding: 0.75rem 1rem;
    }
    
    .mfa-help-section {
        padding: 1rem;
    }
    
    .help-list li {
        font-size: 0.85rem;
    }
}
.reset-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, #dee2e6 0%);; /* subtle gray backdrop like screenshot */
}

/* ========================================
   Model Comparison Page Styles
   ======================================== */

.compare-models-page {
    padding: 0rem 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.page-header-compare {
    background: var(--primary-gradient);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.page-header-compare .page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.page-header-compare .page-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.job-selection-section {
    margin-bottom: 1.5rem;
}

.job-selection-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.job-list-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.job-list-container::-webkit-scrollbar {
    width: 8px;
}

.job-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.job-list-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.job-list-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.job-item {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.job-item:hover {
    background-color: #f8f9fa;
}

.job-item .form-check {
    margin: 0;
}

.job-item-content {
    padding-left: 1.75rem;
}

.job-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.job-item-header strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.job-item-meta {
    margin-bottom: 0.25rem;
}

.job-item-id {
    margin-top: 0.25rem;
}

.comparison-results-container {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-table {
    font-size: 0.9rem;
}

.comparison-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.comparison-table tbody td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    padding-left: 1.5rem;
}

/* Style for indented rows (sub-items) */
.comparison-table tbody tr.indented-table-row td:first-child {
    padding-left: 3rem;
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: normal;
}

.comparison-table tbody tr.indented-table-row td {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.comparison-table tbody tr.indented-table-row {
    background-color: #fafbfc;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.table-separator {
    background-color: #e9ecef !important;
    font-weight: 600;
    text-align: center;
    padding: 1rem !important;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.table-section-header {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.table-section-header:hover {
    background-color: #f1f3f5 !important;
}

.table-section-header.section-expanded {
    background-color: #dee2e6 !important;
}

.section-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.section-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.table-section-row {
    transition: opacity 0.2s ease;
}

/* Ensure collapsed rows are hidden */
.comparison-table tbody tr.table-section-row.hidden {
    display: none !important;
}

.comparison-table tbody tr.table-section-row[style*="display: none"] {
    display: none !important;
}

.comparison-table tbody tr.table-section-row[style*="display:none"] {
    display: none !important;
}

.table-controls {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-top: 2px solid var(--border-color);
}

.table-controls-row {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

.model-header {
    text-align: center;
}

.model-header strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.model-header small {
    display: block;
    margin-bottom: 0.25rem;
}

.model-header code {
    font-size: 0.75rem;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.empty-state-icon {
    opacity: 0.3;
}

.empty-state-icon i {
    color: var(--text-muted);
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

.bg-gradient-success {
    background: var(--success-gradient) !important;
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: transparent;
    font-weight: 600;
}

.tab-content {
    padding-top: 1.5rem;
}

.card {
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

#overviewChart,
#metricsChart {
    max-height: 300px;
}

/* Chart Container Styles */
.chart-container {
    position: relative;
    transition: var(--transition-normal);
}

.chart-container .card-header {
    position: relative;
    padding-right: 3rem;
}

.chart-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: 1px solid var(--border-color);
    background-color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chart-toggle-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-container.chart-minimized {
    opacity: 0.8;
}

.chart-container.chart-minimized .card-body {
    display: none;
}

.chart-container canvas {
    max-height: 400px;
}

/* Ensure chart containers maintain proper height */
.chart-container .card-body {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Combined Model Selection Styles */
#createCombinedModelModal .card {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

#createCombinedModelModal .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

#createCombinedModelModal .form-check {
    padding: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

#createCombinedModelModal .form-check:hover {
    background-color: #f8f9fa;
}

#createCombinedModelModal .form-check-label {
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#createCombinedModelModal .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

#createCombinedModelModal .card-body {
    max-height: 400px;
    overflow-y: auto;
}

#createCombinedModelModal .nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

#createCombinedModelModal .nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
}

#createCombinedModelModal .nav-tabs .nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

#createCombinedModelModal .nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: transparent;
    font-weight: 600;
}

/* Force fullscreen modal - override ALL Bootstrap defaults */
#createCombinedModelModal.modal {
    padding: 0 !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 1055 !important;
    overflow: hidden !important;
    display: none !important;
}

/* When shown, ensure it's visible and fullscreen */
#createCombinedModelModal.modal.show,
#createCombinedModelModal.modal[style*="display: block"] {
    display: block !important;
    opacity: 1 !important;
}

/* Remove duplicate - handled above */

#createCombinedModelModal .modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    translate: none !important;
    -webkit-translate: none !important;
    -moz-translate: none !important;
    -ms-translate: none !important;
    -o-translate: none !important;
}

#createCombinedModelModal .modal-content {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

#createCombinedModelModal .modal-header {
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#createCombinedModelModal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    min-height: 0;
}

#createCombinedModelModal .modal-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
}

/* Force fullscreen modal backdrop */
#createCombinedModelModal.modal .modal-backdrop {
    width: 100vw !important;
    height: 100vh !important;
}

/* Override Bootstrap modal positioning */
body.modal-open #createCombinedModelModal {
    padding-right: 0 !important;
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Remove any container constraints */
body.modal-open .container-fluid,
body.modal-open .container,
body.modal-open .row {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* Ensure modal backdrop is fullscreen */
.modal-backdrop.show {
    z-index: 1050 !important;
}

#createCombinedModelModal.modal.show ~ .modal-backdrop {
    z-index: 1050 !important;
}

#createCombinedModelModal .btn-close {
    font-size: 1.5rem;
    padding: 0.5rem;
    opacity: 1;
}

#createCombinedModelModal .btn-close:hover {
    opacity: 0.75;
}

#createCombinedModelModal .form-check {
    transition: all 0.2s ease;
}

#createCombinedModelModal .form-check:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

#createCombinedModelModal .card-body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

#createCombinedModelModal .card-body::-webkit-scrollbar {
    width: 8px;
}

#createCombinedModelModal .card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#createCombinedModelModal .card-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Parallel model selection layout */
#createCombinedModelModal .row.g-0 > [class*="col-"] {
    border-right: 2px solid #dee2e6;
    padding: 0;
}

#createCombinedModelModal .row.g-0 > [class*="col-"]:last-child {
    border-right: none;
}

#createCombinedModelModal .row.g-0 > [class*="col-"] .card-header {
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 1rem;
}

#createCombinedModelModal .row.g-0 > [class*="col-"] .card-body {
    padding: 1rem;
    border-left: 1px solid #f0f0f0;
}

#createCombinedModelModal .row.g-0 > [class*="col-"]:first-child .card-body {
    border-left: none;
}

/* Ensure equal height columns */
#createCombinedModelModal .row.g-0 {
    display: flex;
    min-height: 100%;
}

#createCombinedModelModal .row.g-0 > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Advanced Responsive Styles for Compare Models Page */
@media (max-width: 1200px) {
    .compare-models-page .row > [class*="col-lg"] {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 992px) {
    .compare-models-page {
        padding: 1rem 0.5rem;
    }

    .page-header-compare {
        padding: 1.5rem 1rem;
        border-radius: var(--border-radius-md);
    }

    .page-header-compare .page-title {
        font-size: 1.5rem;
    }

    .page-header-compare .page-subtitle {
        font-size: 0.9rem;
    }

    .job-list-container {
        max-height: 400px;
    }

    .comparison-results-container {
        margin-top: 1rem;
    }

    /* Stack columns on tablet */
    .compare-models-page .row > [class*="col-lg"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header-compare {
        padding: 1.25rem 0.75rem;
    }

    .page-header-compare .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }

    .page-header-compare .page-title {
        font-size: 1.25rem;
    }

    .page-header-compare .page-subtitle {
        font-size: 0.85rem;
    }

    .page-header-compare .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Filter section responsive */
    .card-body .row.g-3 > [class*="col-md"] {
        margin-bottom: 1rem;
    }

    /* Job selection responsive */
    .job-selection-section .section-title {
        font-size: 1rem;
    }

    .job-item-content {
        padding-left: 1.5rem;
    }

    .job-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .job-item-header .badge {
        margin-top: 0.25rem;
    }

    /* Comparison table responsive */
    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem 0.25rem;
    }

    .comparison-table tbody td:first-child {
        padding-left: 0.5rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Tabs responsive */
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Charts responsive */
    .chart-container {
        margin-bottom: 1rem;
    }

    .chart-container .card-body {
        min-height: 250px;
    }

    #overviewChart,
    #metricsChart {
        max-height: 250px;
    }

    /* Comparison header buttons */
    .card-header .d-flex.gap-2 {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .card-header .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .compare-models-page {
        padding: 0.75rem 0.25rem;
    }

    .page-header-compare {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }

    .page-header-compare .page-title {
        font-size: 1.1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .card-header h5,
    .card-header h6 {
        font-size: 0.95rem;
    }

    /* Search and filters */
    .input-group {
        flex-wrap: nowrap;
    }

    .btn-group.w-100 {
        flex-wrap: wrap;
    }

    .btn-group.w-100 .btn {
        flex: 1 1 auto;
        min-width: 80px;
    }

    /* Job items */
    .job-item {
        padding: 0.75rem 0.5rem;
    }

    .job-item-content {
        padding-left: 1.25rem;
    }

    .job-item-header strong {
        font-size: 0.85rem;
    }

    .job-item-meta small {
        font-size: 0.75rem;
    }

    /* Comparison table */
    .comparison-table {
        font-size: 0.7rem;
    }

    .comparison-table thead th {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }

    .comparison-table tbody td {
        padding: 0.4rem 0.2rem;
    }

    /* Tabs */
    .nav-tabs .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .nav-tabs .nav-link i {
        display: none;
    }

    /* Charts */
    .chart-container .card-body {
        min-height: 200px;
        padding: 0.75rem;
    }

    #overviewChart,
    #metricsChart {
        max-height: 200px;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Advanced Features - Search Highlight */
.job-item.highlighted {
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    animation: highlightPulse 0.5s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.job-item.hidden {
    display: none !important;
}

/* Sort indicators */
.sort-indicator {
    margin-left: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.sort-indicator.active {
    opacity: 1;
    color: var(--primary-color);
}

/* Loading skeleton */
.job-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth transitions */
.job-item,
.card,
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.job-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Better scrollbar for mobile */
@media (max-width: 768px) {
    .job-list-container::-webkit-scrollbar {
        width: 4px;
    }
}

/* Print styles */
@media print {
    .compare-models-page .btn,
    .compare-models-page .card-header .btn-group {
        display: none;
    }
    
    .compare-models-page {
        padding: 0;
    }
}

.dropdown-menu-start[data-bs-popper] {
    right: auto;
    left: -107px;
}
.company-user .dropdown-menu-start[data-bs-popper] {
    right: auto;
    left: 0;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active
 {
    color: var(--bs-btn-active-color);
    background-color: var(--primary-gradient);
    border-color: white;
}

table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 70.6 !important;
}


/* Custom class for table header links */
.sortable-link {
    color: #ffffff;       /* White text */
    text-decoration: none; /* Remove underline */
    cursor: pointer;       /* Pointer cursor on hover */
}

.sortable-link:hover {
    color: #f8f9fa;       /* Optional: slightly lighter on hover */
    text-decoration: none;
}
.stats-container{
display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
}
.stats-bar {
    padding: 14px 20px;
    background: #f8f9fb;
    border-radius: 12px;
    font-size: 0.95rem;
}

.stats-title {
    color: #1f2937;
}

.stat-link {
    color: #374151;
    font-weight: 500;
}

.stat-link:hover {
    text-decoration: underline;
}

.container .page-no-padding  {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


