/* Authentication Page Styles */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.85), rgba(255, 255, 255, 0.95));
}

.auth-wrapper {
    max-width: 1000px;
    margin: 110px auto 110px;
    padding: 20px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    max-width: 540px;
    margin: 0 auto;
}

.auth-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 460px;
}

.auth-panel.accent {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    border-right: 1px solid #f1f1f1;
}

.auth-panel h2 {
    margin-bottom: 12px;
}

.auth-panel p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}

.auth-badges {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.auth-badge {
    background: #f5f5f5;
    color: #333333;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.2px;
}

.auth-tabs {
    display: inline-flex;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 22px;
}

.auth-tab {
    background: #ffffff;
    border: none;
    padding: 10px 14px;
    font-size: 13px;
    color: #444444;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.auth-tab.active {
    background: #0c0c0c;
    color: #ffffff;
}

.auth-form {
    display: none;
    flex: 1;
    flex-direction: column;
}

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

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
    color: #222222;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
    border-color: #3a6edc;
    box-shadow: 0 0 0 2px rgba(58, 110, 220, 0.12);
    outline: none;
}

.form-helper {
    font-size: 12px;
    color: #666666;
    margin-top: 6px;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
}

.auth-actions .btn,
.auth-actions .btn-google {
    min-height: 46px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-actions .btn-outline {
    margin-left: 0;
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-google {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.btn-google svg {
    height: 18px;
    width: 18px;
    flex-shrink: 0;
}

.forgot-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
}

.password-requirements {
    color: #555555;
}

.password-requirements .criteria {
    font-weight: 500;
    transition: color 0.2s ease;
}

.password-requirements .criteria.bad {
    color: #a32020;
}

.password-requirements .criteria.good {
    color: #1f6f3d;
}

.auth-toggle {
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
}

.auth-switch {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.forgot-link:hover,
.forgot-link:focus-visible {
    color: #1f4f9c;
    text-decoration: underline;
    outline: none;
}

.status-message {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    min-height: 3em;
    display: none;
}

.status-message.visible {
    display: block;
}

.status-message.success {
    background: #f0f8f3;
    color: #1f6f3d;
    border: 1px solid #c6e8d3;
}

.status-message.error {
    background: #fff1f0;
    color: #a32020;
    border: 1px solid #f0c4c4;
}

.status-message.info {
    background: #f3f6ff;
    color: #2f4a8b;
    border: 1px solid #cdd8ff;
}

.verify-card {
    max-width: 540px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 28px 26px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.verify-status {
    padding: 14px 16px;
}

.verify-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.link-quiet {
    color: #2f4a8b;
    text-decoration: none;
    font-weight: 500;
}

.link-quiet:hover {
    text-decoration: underline;
}

.policy-note {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .auth-wrapper {
        margin: 140px auto 140px;
    }
}
