:root {
        --primary-color: #022141;
        --secondary-color: #00bcd4;
        --accent-color: #ff9800;
        --success-color: #4caf50;
        --gradient-primary: linear-gradient(135deg, #022141 0%, #01376d 100%);
        --gradient-secondary: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
        --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        body {
            min-height: 100vh;
            background: var(--gradient-bg);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
        }

        .navbar {
            background: var(--gradient-primary) !important;
            padding: 0.5rem 0;
            box-shadow: 0 2px 8px rgba(2, 33, 65, 0.3);
            margin-bottom: 0;
        }

        .navbar-brand {
            color: white !important;
            font-size: 1.2rem;
            font-weight: bold;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
            letter-spacing: 0.5px;
        }

        .login-center-container {
            min-height: calc(100vh - 80px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
        }

        .auth-container {
            max-width: 420px;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(2, 33, 65, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .auth-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(2, 33, 65, 0.2);
        }

        .auth-header {
            background: var(--gradient-primary);
            padding: 2rem 2rem 1.5rem 2rem;
            text-align: center;
            position: relative;
        }

        .auth-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(0, 188, 212, 0.1) 0%, transparent 100%);
            pointer-events: none;
        }

        .logo-container {
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }

        .logo-container img {
            max-width: 100px;
            height: auto;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .auth-title {
            color: white;
            font-weight: 700;
            font-size: 1.5rem;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }

        .auth-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            margin: 0.5rem 0 0 0;
            position: relative;
            z-index: 1;
        }

        .auth-body {
            padding: 2rem;
        }

        .form-label {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-label i {
            color: var(--secondary-color);
            font-size: 0.8rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .input-group-text {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #e9ecef;
            border-right: none;
            border-radius: 8px 0 0 8px;
            padding: 0 1rem;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .input-group-text i {
            color: var(--secondary-color);
            font-size: 1rem;
        }

        .form-control {
            height: 48px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #e9ecef;
            border-left: none;
            border-radius: 0 8px 8px 0;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            padding: 0.75rem 1rem;
        }

        .form-control:focus {
            background: white;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
            outline: none;
        }

        .form-control:focus + .input-group-text {
            border-color: var(--secondary-color);
            background: white;
        }

        .btn-login {
            background: var(--gradient-primary);
            border: none;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.75rem 2rem;
            width: 100%;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(2, 33, 65, 0.3);
            position: relative;
            overflow: hidden;
        }

        .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;
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #01376d 0%, #022141 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(2, 33, 65, 0.4);
        }

        .btn-login:hover::before {
            left: 100%;
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .alert-flash {
            position: fixed;
            top: 100px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            min-width: 320px;
            max-width: 90vw;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border: none;
        }

        .alert-success {
            background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
            color: white;
        }

        .alert-danger {
            background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
            color: white;
        }

        .alert-warning {
            background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
            color: white;
        }

        .alert-info {
            background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
            color: white;
        }

        .remember-user-container {
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-check-input {
            width: 18px;
            height: 18px;
            margin: 0;
            cursor: pointer;
        }

        .form-check-label {
            color: var(--primary-color);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            margin: 0;
        }

        @media (max-width: 576px) {
            .auth-container {
                margin: 1rem;
                max-width: none;
            }
            
            .auth-header {
                padding: 1.5rem 1.5rem 1rem 1.5rem;
            }
            
            .auth-body {
                padding: 1.5rem;
            }
            
            .auth-title {
                font-size: 1.3rem;
            }
        }

        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(2, 33, 65, 0.05) 100%);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 10%;
            animation-delay: 2s;
        }

        .shape:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }