/* ========================================
   Pulm.ee Auth Styles
   ======================================== */

.auth-tabs {
    display: flex;
    gap: 4px;
    background: #f3f2f1;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9CA3AF;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.auth-tab--active {
    background: #fff;
    color: #323232;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-tab:hover:not(.auth-tab--active) {
    color: #666;
}

/* Forms */
.auth-form {
    display: none;
}

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

.auth-field {
    margin-bottom: 18px;
}

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

.auth-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #323232;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.auth-field input:focus {
    border-color: #325289;
    box-shadow: 0 0 0 3px rgba(50, 82, 137, 0.1);
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Row (remember me + forgot) */
.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #325289;
}

.auth-checkbox a {
    color: #325289;
    text-decoration: underline;
}

.auth-link {
    font-size: 13px;
    color: #325289;
}
.auth-link:hover {
    text-decoration: underline;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-back {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}
.auth-back a {
    color: #325289;
}

/* Messages */
.auth-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.auth-message--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-message--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Date select dropdowns */
.pww-date-selects {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pww-date-selects select {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.pww-date-selects select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}
.pww-date-selects select option {
    background: #1E355C;
    color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-field-row {
        grid-template-columns: 1fr;
    }
}
