/* Authentication Page Styles */
.auth-page {
    background-color: #f4f6f9;
    padding: 60px 20px;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-container {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab-btn.active {
    color: #2c3e50;
    background: #fff;
    border-bottom: 3px solid #6b6e96;
}

.auth-tab-btn:hover:not(.active) {
    background: #f1f3f5;
    color: #555;
}

/* Forms */
.auth-forms-wrapper {
    padding: 40px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
}

.form-instruction {
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #999;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: #6b6e96;
    box-shadow: 0 0 0 3px rgba(107, 110, 150, 0.1);
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-row input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
}

.forgot-password-link {
    color: #6b6e96;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-auth-submit {
    width: 100%;
    padding: 14px;
    background: #6b6e96;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background: #5a5d85;
    box-shadow: 0 5px 15px rgba(107, 110, 150, 0.3);
}

.terms-text {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.terms-text a {
    color: #6b6e96;
    text-decoration: none;
}

.auth-footer-links {
    margin-top: 25px;
    text-align: center;
}

.back-to-login {
    font-size: 14px;
    color: #6b6e96;
    text-decoration: none;
    font-weight: 600;
}

.back-to-login:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .auth-page {
        padding: 30px 15px;
    }

    .auth-forms-wrapper {
        padding: 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}