@charset "utf-8";

    :root {
        --primary-accent: #4f46e5; /* Deeper, more professional blue */
        --secondary-accent: #10b981; /* Crisp emerald green */
        --glass-bg: #ffffff;
        --input-bg: #f3f4f6;
        --text-main: #111827;
        --text-muted: #6b7280;
        --border-default: #e5e7eb;
    }

    body {
        margin: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: radial-gradient(circle at top right, #1e293b, #0f172a);
        font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    }
    /* Beautiful Animated Mesh Background */
    .mesh-gradient {
        position: fixed;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        background: radial-gradient(at 0% 0%, #6366f1 0, transparent 50%), radial-gradient(at 50% 0%, #a855f7 0, transparent 50%), radial-gradient(at 100% 0%, #ec4899 0, transparent 50%);
        filter: blur(100px);
        opacity: 0.6;
    }

    .login-container {
        background: var(--glass-bg);
        padding: 70px; /* Increased internal breathing room */
        border-radius: 32px;
        width: 100%;
        max-width: 650px; /* Increased from 480px to 550px */
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        text-align: center;
        box-sizing: border-box;
    }

    .brand-logo {
        color: var(--primary-accent);
        font-weight: 800;
        font-size: 1.8rem;
        letter-spacing: -0.025em;
        margin-bottom: 40px;
    }


    .form-group {
        text-align: left;
        margin-bottom: 24px;
    }

    .field-label {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-main);
        margin-bottom: 10px;
        display: block;
    }

    .form-control {
        width: 100%;
        padding: 14px 18px;
        background: var(--input-bg);
        border: 2px solid transparent; /* invisible border for smooth transition */
        border-radius: 14px;
        font-size: 1rem;
        color: var(--text-main);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
    }

        .form-control:focus {
            outline: none;
            background: #fff;
            border-color: var(--primary-accent);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        }

    .forgot-link {
        display: block;
        text-align: right; /* Professional standard is right-aligned */
        font-size: 1.25rem;
        color: var(--primary-accent);
        text-decoration: none;
        margin-top: -12px;
        margin-bottom: 30px;
        font-weight: 600;
    }

        .forgot-link:hover {
            text-decoration: underline;
        }


    .btn-main {
        width: 100%;
        padding: 16px;
        border: none;
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-bottom: 14px;
    }

    .btn-login {
        background: var(--primary-accent);
        color: white;
        box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
    }

    .btn-attendance {
        background: var(--secondary-accent);
        color: white;
        margin-bottom: 0;
        box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
    }

    .btn-main:hover {
        transform: translateY(-2px);
        filter: brightness(110%);
    }

    .btn-main:active {
        transform: translateY(0);
    }