/*AUTHENTICATION*/

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111827;
    position: relative;
    padding: 24px;
}

.auth-form {
    width: 100%;
    max-width: 420px;
    padding: 40px;

    background-color: #1f2037;
    color: #f9fafb;

    border: 1px solid #374151;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.auth-discription {
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group input {
    padding: 12px 14px;
    background-color: #111827;
    color: #f9fafb;
    border: 2px solid #374151;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: #8b5cf6;
}

.form-group label {
    font-weight: 600;
}

.submit-button {
    width: 100%;
    padding: 12px 24px;

    border: none;
    border-radius: 6px;

    background-color: #7c3aed;
    color: white;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #8b5cf6;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
}

.auth-switch a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

/*BACK*/

.back-home {
    position: absolute;
    top: 30px;
    left: 40px;

    color: white;
    text-decoration: none;
    font-weight: 600;

    transition: color 0.2s ease;
}

.back-home:hover {
    color: #4da6ff;
}

/*ERROR*/

.error-message {
    color: #c62828;
    font-size: 14px;
}

/*MOBILE*/
@media (max-width: 600px) {
    .auth-page {
        padding: 80px 16px 24px;
    }

    .auth-form {
        padding: 28px 24px;
    }

    .back-home {
        top: 24px;
        left: 20px;
    }

    .auth-discription {
        margin-bottom: 24px;
    }
}