/* Duygu ACAR - Auth & Account Styles */

.auth-page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 280px);
    padding: 60px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 32px 24px 20px;
}

.auth-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.auth-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.auth-tab-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.auth-tab-btn:hover {
    color: #0f172a;
}

.auth-tab-btn.active {
    color: var(--primary-color, #1b629b);
    background: #ffffff;
    border-bottom-color: var(--primary-color, #1b629b);
}

.auth-body {
    padding: 28px 32px 36px;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.auth-alert.success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

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

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

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper i.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    height: 44px;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s;
    box-sizing: border-box;
    outline: none;
}

.auth-input:focus {
    border-color: var(--primary-color, #1b629b);
    box-shadow: 0 0 0 3px rgba(27, 98, 155, 0.12);
}

.auth-input-noicon {
    padding-left: 14px;
}

.auth-toggle-pwd {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    background: none;
    border: none;
    padding: 0;
}

.auth-toggle-pwd:hover {
    color: #475569;
}

.auth-row-split {
    display: flex;
    gap: 12px;
}

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

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 22px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color, #1b629b);
    cursor: pointer;
}

.auth-submit-btn {
    width: 100%;
    height: 46px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   Account Dashboard (hesabim.php)
   ========================================================================== */
.account-page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 280px);
    padding: 40px 15px 60px;
}

.account-container {
    max-width: 1100px;
    margin: 0 auto;
}

.account-header-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.account-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.account-user-meta h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.account-user-meta span {
    font-size: 13px;
    color: #64748b;
}

.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    align-items: start;
}

.account-nav-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.account-nav-item i {
    width: 18px;
    font-size: 15px;
    color: #94a3b8;
    text-align: center;
}

.account-nav-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.account-nav-item:hover i {
    color: var(--primary-color, #1b629b);
}

.account-nav-item.active {
    background: #f0f7ff;
    color: var(--primary-color, #1b629b);
    border-left-color: var(--primary-color, #1b629b);
}

.account-nav-item.active i {
    color: var(--primary-color, #1b629b);
}

.account-nav-item.logout {
    color: #ef4444;
    border-top: 1px solid #f1f5f9;
}

.account-nav-item.logout i {
    color: #ef4444;
}

.account-nav-item.logout:hover {
    background: #fef2f2;
}

.account-content-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.account-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Order Item Card */
.order-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.order-card-header {
    background: #f8fafc;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.order-meta-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.order-meta-item small {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.order-meta-item span {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
}

.order-status-badge {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-0 { background: #f1f5f9; color: #475569; } /* Beklemede */
.status-1 { background: #fef3c7; color: #92400e; } /* Onay Bekliyor */
.status-2 { background: #e0f2fe; color: #0369a1; } /* Hazırlanıyor */
.status-3 { background: #f3e8ff; color: #7e22ce; } /* Kargoya Verildi */
.status-4 { background: #dcfce7; color: #15803d; } /* Teslim Edildi */
.status-5 { background: #fee2e2; color: #991b1b; } /* İptal Edildi */

.order-card-body {
    padding: 20px;
}

.order-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.order-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.order-btn-primary {
    background: #0f172a;
    color: #ffffff;
}

.order-btn-primary:hover {
    background: #1e293b;
    color: #ffffff;
}

.order-btn-outline {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.order-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.empty-state-box {
    text-align: center;
    padding: 50px 20px;
}

.empty-state-box i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 8px 0;
}

.empty-state-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .auth-body {
        padding: 20px;
    }
    .account-content-card {
        padding: 20px;
    }
    .account-header-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
