﻿.login-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 40px;
    width: 400px;
    text-align: center;
    margin: 40px auto;
}

.login-container h2 {
    color: #333;
    margin-bottom: 10px;
}

.login-container .subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        color: #555;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 14px;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }

        .form-group input:focus {
            outline: none;
            border-color: #4CAF50;
            box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
        }

.btn-login {
    background-color: lightseagreen;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .btn-login:hover {
        background-color: #45a049;
    }

    .btn-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.error-message {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 14px;
    padding: 10px;
    background-color: #fde8e8;
    border-radius: 5px;
    display: none;
}

.success-message {
    color: #27ae60;
    margin-top: 15px;
    font-size: 14px;
    padding: 10px;
    background-color: #e8f5e9;
    border-radius: 5px;
    display: none;
}

.login-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

    .login-footer a {
        color: #4CAF50;
        text-decoration: none;
        font-weight: 600;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .loading-overlay.show {
        display: flex;
    }

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.back-link {
    display: inline-block;
    margin-top: 15px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

    .back-link:hover {
        color: #4CAF50;
    }

.password-toggle {
    position: relative;
}

    .password-toggle .toggle-btn {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: #888;
        font-size: 16px;
        padding: 5px;
    }

        .password-toggle .toggle-btn:hover {
            color: #333;
        }

