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

    body {
        font-family: 'Poppins', sans-serif;
        overflow: hidden;
        height: 100vh;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }

    .full-screen {
        display: flex;
        height: 100vh;
        position: relative;
    }

    .left-side {
        flex: 2;
        position: relative;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    .mascot-container {
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .mascot-animation {
        width: 300px;
        height: 300px;
        background: linear-gradient(45deg, #4facfe, #00f2fe);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        animation: float 3s ease-in-out infinite;
        margin-bottom: 2rem;
    }

    .mascot-animation i {
        font-size: 120px;
        color: white;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .mascot-text {
        color: white;
        font-size: 1.2rem;
        font-weight: 500;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-20px);
        }
    }

    .background-decoration {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.1;
        background-image:
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    }

    .right-side {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        position: relative;
    }

    .right-side::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="20" cy="80" r="0.8" fill="%23ffffff" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

    .login-card {
        width: 100%;
        max-width: 420px;
        padding: 2.5rem;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 24px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.12),
            0 2px 16px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
    }

    .login-card:hover {
        transform: translateY(-2px);
        box-shadow:
            0 12px 48px rgba(0, 0, 0, 0.15),
            0 4px 24px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

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

    .logo-badge {
        width: 80px;
        height: 80px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

    .logo-badge i {
        font-size: 36px;
        color: white;
    }

    .brand-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .brand-subtitle {
        font-size: 1rem;
        font-weight: 600;
        color: #287f71;
        font-style: italic;
        margin-bottom: 0.5rem;
    }

    .welcome-text {
        font-size: 0.9rem;
        color: #718096;
        font-weight: 400;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 0.5rem;
        display: block;
    }

    .input-wrapper {
        position: relative;
    }

    .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #287f71;
        z-index: 3;
        font-size: 18px;
    }

    .form-control {
        width: 100%;
        padding: 14px 20px 14px 50px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 400;
        background: rgba(255, 255, 255, 0.9);
        color: #2d3748;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
    }

    .form-control::placeholder {
        color: #a0aec0;
        font-weight: 400;
    }

    .form-control:focus {
        outline: none;
        border-color: #287f71;
        background: rgba(255, 255, 255, 0.95);
        box-shadow:
            0 0 0 3px rgba(40, 127, 113, 0.1),
            0 0 20px rgba(40, 127, 113, 0.15);
        transform: translateY(-1px);
    }

    .password-wrapper {
        position: relative;
    }

    .password-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #718096;
        cursor: pointer;
        font-size: 18px;
        z-index: 3;
        transition: color 0.2s ease;
    }

    .password-toggle:hover {
        color: #287f71;
    }

    .btn-login {
        width: 100%;
        padding: 14px;
        background: linear-gradient(45deg, #287f71, #34a085);
        border: none;
        border-radius: 12px;
        color: white;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 16px rgba(40, 127, 113, 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 ease;
    }

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(40, 127, 113, 0.4);
    }

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

    .btn-login:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(40, 127, 113, 0.3);
    }

    .alert {
        border-radius: 12px;
        border: none;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .alert-danger {
        background: rgba(254, 178, 178, 0.9);
        color: #c53030;
        backdrop-filter: blur(10px);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .full-screen {
            flex-direction: column;
        }

        .left-side {
            display: none;
        }

        .right-side {
            flex: 1;
            padding: 1.5rem;
            min-height: 100vh;
        }

        .login-card {
            max-width: 100%;
            padding: 2rem;
            margin: 0;
        }

        .brand-title {
            font-size: 1rem;
        }

        .brand-subtitle {
            font-size: 0.9rem;
        }

        .mascot-animation {
            width: 200px;
            height: 200px;
        }

        .mascot-animation i {
            font-size: 80px;
        }
    }

    @media (max-width: 480px) {
        .right-side {
            padding: 1rem;
        }

        .login-card {
            padding: 1.5rem;
            border-radius: 20px;
        }

        .logo-badge {
            width: 60px;
            height: 60px;
        }

        .logo-badge i {
            font-size: 28px;
        }

        .form-control {
            padding: 12px 16px 12px 45px;
            font-size: 0.9rem;
        }

        .btn-login {
            padding: 12px;
            font-size: 0.95rem;
        }
    }

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

    .loading .btn-login {
        background: #718096;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #ffffff;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

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

        100% {
            transform: rotate(360deg);
        }
    }

    
    .input-wrapper {
        position: relative;
    }

    .input-wrapper input {
        width: 100%;
        padding-right: 3rem;
        /* cukup ruang untuk icon di kanan */
    }

    .input-wrapper .toggle-password {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        color: #555;
        transition: color 0.3s ease;
        z-index: 10;
    }

    .input-wrapper .toggle-password:hover {
        color: #287F71;
    }

    .input-wrapper i.feather {
        width: 20px;
        height: 20px;
    }


    .btn-login {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-login:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }
    
    .btn-loading {
        display: none;
        align-items: center;
        gap: 8px;
    }
    
    .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid #ffffff;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .alert {
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        border: 1px solid transparent;
    }
    
    .alert-danger {
        color: #dc3545;
        background-color: #f8d7da;
        border-color: #f5c6cb;
    }
    
    .alert-success {
        color: #155724;
        background-color: #d4edda;
        border-color: #c3e6cb;
    }
    
    .btn-close {
        background: none;
        border: none;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: 0.5;
        cursor: pointer;
        float: right;
    }
    
    .fade {
        transition: opacity 0.15s linear;
    }
    
    .show {
        opacity: 1;
    }