﻿/* Admin Login Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(60deg, #3a167c 0%, #3a167c 50%, #8f49ed 100%);
    padding: 20px;
}

.login-card {
    background: radial-gradient(circle at top right, #7b30de 0%, #20044f 35%, #1a0340 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 255, 255, 0.6), 0 0 120px rgba(255, 255, 255, 0.3), 0 0 200px rgba(255, 255, 255, 0.15);
    padding: 34px 43px 40px 43px;
    width: 100%;
    max-width: 550px;
    position: relative;
}

    .login-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 30px;
        padding: 4px;
        background: linear-gradient(50deg, #d99fbb, #7c30df);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

.logo-section {
    text-align: left;
    margin-top: 14px;
    margin-bottom: 30px;
}

.logo {
    height: 62px;
    margin-bottom: 8px;
    display: block;
}

.welcome-text {
    color: white;
    font-size: 40px;
    font-weight: 700;
    margin: 50px 0 26px 0;
    text-align: left;
}

.subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 2px;
    margin: 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        margin-bottom: 9px;
        font-size: 15px;
    }

    .form-group:last-of-type {
        margin-bottom: 24px;
    }

.form-input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #333;
}

    .form-input:focus {
        outline: none;
        border-color: #8a38f5;
        box-shadow: 0 0 0 3px rgba(138, 56, 245, 0.2);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

    .remember-me input[type="checkbox"] {
        position: relative;
        top: 1px;
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: #8a38f5;
    }

    .remember-me span {
        position: relative;
        top: 1px;
    }

.forgot-password {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

    .forgot-password:hover {
        color: white;
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, #e6a3b6 0%, #712fd5 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .login-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #7b30de 0%, #3a167c 80%);
        transform: translateY(-2px);
    }

    .login-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-message {
    margin-top: 20px;
    padding: 12px 16px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 14px;
    text-align: center;
}

.validation-message {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 28px 36px 28px;
    }

    .logo {
        height: 50px;
    }

    .welcome-text {
        font-size: 30px;
    }

    .form-options {
        align-items: flex-start;
        gap: 12px;
    }
}
