* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-image: url('/images/background.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-container {
            background: rgba(0, 0, 0, 0.4);
            padding: 3rem 3rem 0 3rem;
            border-radius: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            max-width: 400px;
            animation: slideUp 0.6s ease-out;
            display: flex;
            flex-direction: column;
            justify-content: center;
            backdrop-filter: blur(10px);
            transform: scale(1.10);
        }

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

        .logo-corner {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
        }

        .logo-corner img {
            width: 120px;
            height: auto;
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo img {
            width: 160px;
            height: auto;
            margin-bottom: 1rem;
        }

        .logo h1 {
            color: white;
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            letter-spacing: 0.5px;
        }

        .logo p {
            color: #999;
            font-size: 1rem;
        }

        .form-group {
            margin-bottom: 2.5rem;
            position: relative;
        }

        .password-group {
            position: relative;
            margin-bottom: 3.5rem;
        }

        .toggle-password {
            position: absolute;
            right: 0;
            bottom: 8px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            color: white;
            opacity: 0.6;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .toggle-password:hover {
            opacity: 1;
        }

        .eye-icon {
            display: block;
            width: 20px;
            height: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #999;
            font-weight: 400;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input {
            width: 100%;
            padding: 12px 40px 12px 0;
            border: none;
            border-bottom: 1px solid white;
            background: transparent;
            font-size: 1.1rem;
            transition: border-color 0.3s ease;
            color: white;
        }

        .form-group input:focus {
            outline: none;
            border-bottom-color: white;
            box-shadow: none;
        }

        .form-group input::placeholder {
            color: #ccc;
            font-size: 1rem;
        }

        /* Override autofill styling */
        .form-group input:-webkit-autofill,
        .form-group input:-webkit-autofill:hover,
        .form-group input:-webkit-autofill:focus,
        .form-group input:-webkit-autofill:active {
            -webkit-text-fill-color: white !important;
            -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
            transition: background-color 5000s ease-in-out 0s;
            background-color: transparent !important;
            color: white !important;
        }
        
        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-text-fill-color: white !important;
            color: white !important;
        }

        /* Icon styles for inputs */
        .form-group::before {
            position: absolute;
            bottom: 12px;
            left: 0;
            font-size: 1.2rem;
            color: #ccc;
            transition: color 0.3s ease;
        }

        .form-group:has(input:focus)::before {
            color: #1e3a8a;
        }

        .btn {
            width: 100%;
            padding: 18px;
            background: #2563eb;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: filter 0.3s ease;
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }

        .btn:hover {
            filter: brightness(0.9);
        }

        .error-message {
            background: none;
            color: #ef4444;
            padding: 0;
            border-radius: 0;
            margin-bottom: 1.5rem;
            text-align: center;
            display: none;
            border: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .error-message.show {
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

        .error-message.shake {
            animation: quickShake 0.3s ease-in-out;
        }

        .error-message.highlight {
            background: none;
        }

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

        @keyframes quickShake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-3px); }
            75% { transform: translateX(3px); }
        }

        .timeout-warning {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #dc2626;
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10000;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-weight: 500;
            display: none;
            max-width: 400px;
            animation: slideInRight 0.3s ease-out;
        }

        .timeout-warning .close-btn {
            position: absolute;
            top: 8px;
            right: 12px;
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .timeout-warning .close-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .timeout-warning .warning-content {
            padding-right: 30px;
            line-height: 1.4;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .form-footer {
            text-align: center;
            margin-top: auto;
            margin-bottom: 0;
            padding-top: 1rem;
            padding-bottom: 2rem;
            color: white;
            font-size: 0.7rem;
            opacity: 0.8;
        }

        .form-footer p {
            margin: 0;
            padding: 0;
        }

        .developer-credit {
            position: fixed;
            bottom: 15px;
            right: 15px;
            color: white;
            font-size: 0.85rem;
            opacity: 0.6;
        }

        .admin-info {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            padding: 15px;
            margin-top: 1rem;
            text-align: center;
            backdrop-filter: blur(10px);
        }

        .admin-info h4 {
            color: rgb(0, 0, 0);
            margin-bottom: 8px;
            font-size: 14px;
        }

        .admin-info p {
            color: rgba(0, 0, 0, 0.9);
            font-size: 12px;
            margin-bottom: 5px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding: 20px;
            }
            
            .login-container {
                padding: 2rem 2rem 0 2rem;
                max-width: 100%;
            }

            .developer-credit {
                display: none;
            }
        }