@import url(components.css);

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 55px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-container-wide {
    max-width: 560px;
}

.auth-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}


.auth-title {
    text-align: center;
    color: #0d6efd;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: .3s;
}

.form-group textarea {
    height: 100px;
    resize: none;
    line-height: 25px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13, 110, 253, .2);
}

.form-group small {
    display: block;
    min-height: 18px;
    margin-top: 5px;
}

.remember-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 16px;
    color: #555;
    font-size: 14px;
}

.remember-email input {
    width: auto;
}

.forgot-password-link {
    margin: -6px 0 14px;
    text-align: right;
}

.forgot-password-link a {
    color: var(--main-color);
}

.auth-description {
    margin-bottom: 22px;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

.security-question-section {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    background: #f7faff;
}

.security-question-section h2 {
    margin-bottom: 8px;
    color: #0d6efd;
    font-size: 20px;
}

.security-question-section > p {
    margin-bottom: 18px;
    color: #555;
    line-height: 1.45;
}

.auth-error {
    color: var(--delete);
}

#login-message,
#form-message {
    min-height: 22px;
    margin-bottom: 10px;
}

.auth-page .auth-btn {
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.auth-text {
    margin-top: 20px;
    text-align: center;
    color: #555;
}

.auth-text a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: bold;
}

.auth-text a:hover {
    text-decoration: underline;
}
