/* ========================================
   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%);
    /*--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);*/
    --secondary-gradient: linear-gradient(135deg, #468de5 0%, #2f6fbb 100%);
    /*--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: #2563eb;
            --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;
}

/* ========================================
   Navigation Styles
   ======================================== */

.navbar {
    background: var(--primary-gradient) !important;
    border: none;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   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: #667eea;
    border-color: #667eea;
}

/* 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);
}

.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: #2c3e50 !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(--secondary-gradient);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    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: transparent;
    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 2.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: center;
    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: white;
    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: 1.2rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    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: 6px;
    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: #2c3e50;
    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: var(--form-primary);
    border: none;
    border-radius: 12px;
    color: white;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 7px 21px rgba(99, 130, 241, 0.3);
    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 rgba(99, 130, 241, 0.4);
}

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

/* Forgot Password Link - ORIGINAL SIZE */
.login-form .forgot-password {
    display: block;
    text-align: center;
    color: #6382f1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.8rem;
    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: #4f6be0;
    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, var(--primary-color) 0%, var(--primary-dark) 100%);
            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, var(--primary-color) 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%, #1d4ed8 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;
        }

        .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 2.5rem;
    }
}
@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 2.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 1.8rem;
    }
    
    .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: 0rem;
    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;
}

