body.auth-page {
    /* header ofseti anasayfa.css --site-header-offset ile gelir */
}

.auth-page-main {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.75rem 5% 5rem;
}

.auth-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.auth-card-wide {
    max-width: 760px;
    margin: 0 auto;
}

.auth-card-head h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    color: #222;
}

.auth-card-head p {
    color: #666;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.auth-form-front {
    display: grid;
    gap: 0.85rem;
}

.auth-form-front label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
}

.auth-form-front input,
.auth-form-front textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    box-sizing: border-box;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.auth-form-full {
    grid-column: 1 / -1;
}

.auth-submit-btn {
    margin-top: 0.5rem;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, var(--site-accent), var(--site-primary));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
    box-shadow: 0 10px 24px var(--site-accent-glow);
}

.auth-links-front {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.auth-links-front a {
    color: var(--site-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-alert-front,
.auth-alert-front.danger {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #fecdca;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-alert-front.success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #a6f4c5;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.account-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    color: #666;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.account-tab.active,
.account-tab:hover {
    color: #1b1205;
    background: linear-gradient(135deg, #ffb24a, #ff8a00);
    border-color: transparent;
}

.account-section h2 {
    font-size: 1.1rem;
    margin: 0 0 0.65rem;
    color: #222;
}

.account-section-lead {
    color: #777;
    font-size: 0.88rem;
    margin: 0 0 1rem;
}

.account-status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.account-status.green {
    background: rgba(2, 122, 72, 0.1);
    color: #027a48;
}

.account-status.amber {
    background: rgba(181, 114, 12, 0.12);
    color: #b5720c;
}

.account-status.red {
    background: rgba(180, 35, 24, 0.1);
    color: #b42318;
}

.account-status.muted {
    background: #f3f3f3;
    color: #666;
}

.auth-form-front textarea {
    resize: vertical;
    min-height: 88px;
}

.auth-form-front input:disabled {
    background: #f5f5f5;
    color: #777;
}

@media (max-width: 640px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

.auth-page-main-wide {
    max-width: 760px;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.account-info-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.account-info-full {
    grid-column: 1 / -1;
}

.account-info-label {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.account-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 160px;
    text-decoration: none;
    text-align: center;
}

.account-action-secondary {
    background: #fff;
    color: var(--site-primary);
    border: 1px solid #f0d2b0;
    box-shadow: none;
}

.account-link-btn {
    color: #888;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
}

.account-orders h2 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: #222;
}

.account-empty {
    color: #777;
    font-size: 0.92rem;
}

.account-orders-table-wrap {
    overflow: auto;
}

.account-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.account-orders-table th,
.account-orders-table td {
    padding: 0.65rem 0.55rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    white-space: nowrap;
}

.account-orders-table th {
    color: #666;
    font-weight: 700;
}

@media (max-width: 640px) {
    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .account-action-btn {
        width: 100%;
    }
}
