.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px;
    padding-bottom: 38px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
}

.auth-card h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 18px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-tab {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    cursor: pointer;
}

.auth-tab.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form label {
    font-size: 13px;
    color: #444;
    display: grid;
    gap: 6px;
}

.auth-form input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.auth-submit {
    margin-top: 6px;
}

.auth-divider {
    text-align: center;
    color: #8b8f97;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 10px 0 4px;
}

.auth-passkey-btn {
    width: 100%;
}

.auth-error {
    margin-top: 12px;
    color: #b00020;
    background: #fff0f3;
    border: 1px solid #ffd6de;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.issue-cta {
    margin-top: 14px;
}

.auth-issue-btn {
    width: 100%;
}

.issue-modal {
    max-width: 520px;
}

.issue-subtitle {
    color: #666;
    margin-bottom: 16px;
}

.issue-type-label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
}

.issue-type-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.issue-type-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #d7dbe0;
    background: #f8f9fa;
    font-size: 13px;
    cursor: pointer;
}

.issue-type-option input {
    margin: 0;
}

.issue-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.issue-success {
    margin-top: 12px;
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.auth-version {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.02em;
}

@media (max-width: 520px) {
    .auth-container {
        padding: 16px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 18px;
        padding-bottom: 32px;
        border-radius: 12px;
    }

    .auth-card h1 {
        font-size: 24px;
    }

    .auth-tabs {
        gap: 6px;
    }

    .auth-tab {
        padding: 12px 10px;
        font-size: 14px;
    }

    .auth-form input {
        font-size: 16px;
    }

    .issue-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}
