/* ========================================
   Hesap Yöneticisi - Frontend Styles
   Colors: Text/Headings #000000, Buttons #F5B800
   ======================================== */

/* === General Container === */
.hesap-yonetici-account-manager {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
}

.hesap-yonetici-account-manager * {
    box-sizing: border-box;
}

/* === Header === */
.hesap-yonetici-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #F5B800;
    margin-bottom: 20px;
}

.hesap-yonetici-header h2 {
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.hesap-yonetici-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hesap-yonetici-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #F5B800;
    color: #000000;
    border: 2px solid #F5B800;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.hesap-yonetici-logout-btn:hover {
    background: #000000;
    color: #F5B800;
    border-color: #000000;
}

/* === Tabs === */
.hesap-yonetici-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0;
}

.hesap-yonetici-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px 8px 0 0;
    margin-right: 5px;
}

.hesap-yonetici-tab-btn:hover {
    color: #000000;
    background: rgba(245, 184, 0, 0.2);
}

.hesap-yonetici-tab-btn.active {
    color: #000000;
    background: #F5B800;
    border-color: #F5B800;
    font-weight: 700;
}

.hesap-yonetici-tab-btn i {
    font-size: 16px;
    color: inherit;
}

/* === Tab Content === */
.hesap-yonetici-tab-content {
    min-height: 400px;
}

.hesap-yonetici-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.hesap-yonetici-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Section Headings === */
.hesap-yonetici-profile-section h3,
.hesap-yonetici-orders-section h3,
.hesap-yonetici-addresses-section h3,
.hesap-yonetici-returns-section h3 {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5B800;
}

.hesap-yonetici-profile-section h4,
.hesap-yonetici-addresses-section h4 {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* === Profile Section === */
.hesap-yonetici-profile-image-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.hesap-yonetici-profile-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F5B800;
    flex-shrink: 0;
}

.hesap-yonetici-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hesap-yonetici-profile-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #999;
    font-size: 40px;
}

.hesap-yonetici-profile-image-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* === Forms === */
.hesap-yonetici-form-group {
    margin-bottom: 18px;
}

.hesap-yonetici-account-manager .hesap-yonetici-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #000000;
    font-weight: 600;
    font-size: 14px !important;
    line-height: 1.4;
}

.hesap-yonetici-account-manager .hesap-yonetici-form-group input[type="text"],
.hesap-yonetici-account-manager .hesap-yonetici-form-group input[type="email"],
.hesap-yonetici-account-manager .hesap-yonetici-form-group input[type="tel"],
.hesap-yonetici-account-manager .hesap-yonetici-form-group input[type="password"],
.hesap-yonetici-account-manager .hesap-yonetici-form-group select,
.hesap-yonetici-account-manager .hesap-yonetici-form-group textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #F5B800 !important;
    border-radius: 6px;
    font-size: 14px !important;
    line-height: 1.4;
    min-height: 42px;
    color: #000000 !important;
    background: #fff !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.hesap-yonetici-account-manager .hesap-yonetici-form-group input:focus,
.hesap-yonetici-account-manager .hesap-yonetici-form-group select:focus,
.hesap-yonetici-account-manager .hesap-yonetici-form-group textarea:focus {
    border-color: #F5B800 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.15);
}

.hesap-yonetici-form-group small {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}

.hesap-yonetici-profile-form,
.hesap-yonetici-password-form {
    max-width: 500px;
}

/* === Buttons === */
.hesap-yonetici-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.4;
}

.hesap-yonetici-btn-primary {
    background: #F5B800;
    color: #000000;
}

.hesap-yonetici-btn-primary:hover {
    background: #d9a500;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 184, 0, 0.35);
}

.hesap-yonetici-btn-secondary {
    background: #f8f9fa;
    color: #000000;
    border: 1px solid #ddd;
}

.hesap-yonetici-btn-secondary:hover {
    background: #e9ecef;
    color: #000000;
}

.hesap-yonetici-btn-danger {
    background: #dc3545;
    color: #fff;
}

.hesap-yonetici-btn-danger:hover {
    background: #c82333;
    color: #fff;
}

.hesap-yonetici-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.hesap-yonetici-btn-change-password {
    background: #F5B800;
    color: #000000;
}

.hesap-yonetici-btn-change-password:hover {
    background: #d9a500;
    color: #000000;
}

.hesap-yonetici-btn-delete-account {
    background: #dc3545;
    color: #fff;
}

.hesap-yonetici-btn-delete-account:hover {
    background: #c82333;
    color: #fff;
}

.hesap-yonetici-btn-tracking {
    background: #F5B800;
    color: #000000;
}

.hesap-yonetici-btn-tracking:hover {
    background: #d9a500;
    color: #000000;
}

.hesap-yonetici-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* === Orders Table === */
.hesap-yonetici-orders-table {
    overflow-x: auto;
}

.hesap-yonetici-orders-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.hesap-yonetici-orders-table thead th {
    background: #f8f9fa;
    color: #000000;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #F5B800;
}

.hesap-yonetici-orders-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #000000;
}

.hesap-yonetici-orders-table tbody tr:hover {
    background: rgba(245, 184, 0, 0.05);
}

/* === Order Status Badges === */
.hesap-yonetici-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.hesap-yonetici-status-pending { background: #fff3cd; color: #856404; }
.hesap-yonetici-status-processing { background: #cce5ff; color: #004085; }
.hesap-yonetici-status-on-hold { background: #fff3cd; color: #856404; }
.hesap-yonetici-status-completed { background: #d4edda; color: #155724; }
.hesap-yonetici-status-cancelled { background: #f8d7da; color: #721c24; }
.hesap-yonetici-status-refunded { background: #e2e3e5; color: #383d41; }
.hesap-yonetici-status-failed { background: #f8d7da; color: #721c24; }
.hesap-yonetici-status-shipped { background: #d1ecf1; color: #0c5460; }
.hesap-yonetici-status-delivered { background: #d4edda; color: #155724; }

/* === Address Cards === */
.hesap-yonetici-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.hesap-yonetici-address-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.hesap-yonetici-address-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #F5B800;
}

.hesap-yonetici-address-card h4 {
    color: #000000;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.hesap-yonetici-address-content {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

/* === Returns Section === */
.hesap-yonetici-return-form h4 {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hesap-yonetici-return-message {
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
}

.hesap-yonetici-return-tracking h4 {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* === Modals === */
.hesap-yonetici-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.hesap-yonetici-modal.show {
    display: block;
}

.hesap-yonetici-modal-content {
    background: #fff;
    margin: 50px auto;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hesap-yonetici-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #F5B800;
    color: #000000;
}

.hesap-yonetici-modal-header h3 {
    margin: 0;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
}

.hesap-yonetici-modal-close {
    font-size: 28px;
    cursor: pointer;
    color: #000000;
    transition: color 0.3s;
    line-height: 1;
}

.hesap-yonetici-modal-close:hover {
    color: #333;
}

.hesap-yonetici-modal-body {
    padding: 24px;
    color: #000000;
}

/* === Order Details Modal === */
.hesap-yonetici-order-info {
    margin-bottom: 20px;
}

.hesap-yonetici-order-info p {
    margin: 5px 0;
    color: #000000;
}

.hesap-yonetici-order-info strong {
    color: #000000;
}

.hesap-yonetici-order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.hesap-yonetici-order-items-table th {
    background: #f8f9fa;
    color: #000000;
    font-weight: 600;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #F5B800;
    font-size: 13px;
}

.hesap-yonetici-order-items-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #000000;
    font-size: 13px;
}

.hesap-yonetici-item-info {
    color: #000000;
}

.hesap-yonetici-item-variation {
    color: #666;
    font-size: 12px;
    margin-top: 3px;
}

.hesap-yonetici-order-addresses {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hesap-yonetici-order-returns {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* === Tracking Modal === */
.hesap-yonetici-tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hesap-yonetici-tracking-company,
.hesap-yonetici-tracking-number {
    margin-bottom: 10px;
    color: #000000;
}

.hesap-yonetici-tracking-number strong,
.hesap-yonetici-tracking-company strong {
    color: #000000;
}

.hesap-yonetici-tracking-status {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #F5B800;
}

.hesap-yonetici-tracking-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* === Policy Modal === */
.hesap-yonetici-policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    overflow-y: auto;
}

.hesap-yonetici-policy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hesap-yonetici-policy-modal-content {
    background: #fff;
    margin: 30px auto;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hesap-yonetici-policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #F5B800;
    color: #000000;
}

.hesap-yonetici-policy-modal-header h3 {
    color: #000000;
}

.hesap-yonetici-policy-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.hesap-yonetici-policy-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hesap-yonetici-policy-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
    color: #000000;
}

.hesap-yonetici-policy-content {
    color: #000000;
    line-height: 1.8;
}

.hesap-yonetici-policy-footer {
    padding: 15px 24px;
    border-top: 1px solid #eee;
}

/* === Warning/Danger Zone === */
.hesap-yonetici-warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.hesap-yonetici-warning-box i {
    font-size: 36px;
    color: #856404;
    margin-bottom: 10px;
}

.hesap-yonetici-warning-box h4 {
    color: #856404;
    font-size: 18px;
    margin-bottom: 8px;
}

.hesap-yonetici-warning-box p {
    color: #856404;
    font-size: 14px;
}

.hesap-yonetici-danger-zone {
    margin-top: 30px;
    padding: 20px;
    border: 2px dashed #dc3545;
    border-radius: 8px;
    text-align: center;
}

.hesap-yonetici-warning-text {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 15px;
}

/* === Loading === */
.hesap-yonetici-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.hesap-yonetici-loading i {
    font-size: 36px;
    color: #F5B800;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === Login Required === */
.hesap-yonetici-login-required {
    text-align: center;
    padding: 60px 20px;
    color: #000000;
    font-size: 18px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hesap-yonetici-tabs {
        flex-wrap: wrap;
        gap: 0;
    }

    .hesap-yonetici-tab-btn {
        flex: 1 0 auto;
        padding: 10px 12px;
        font-size: 13px;
        justify-content: center;
    }

    .hesap-yonetici-tab-btn span {
        display: none;
    }

    .hesap-yonetici-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hesap-yonetici-addresses {
        grid-template-columns: 1fr;
    }

    .hesap-yonetici-order-addresses {
        grid-template-columns: 1fr;
    }

    .hesap-yonetici-profile-image-section {
        flex-direction: column;
        text-align: center;
    }

    .hesap-yonetici-modal-content {
        margin: 20px 10px;
    }

    .hesap-yonetici-policy-modal-content {
        margin: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hesap-yonetici-account-manager {
        padding: 10px;
    }

    .hesap-yonetici-header h2 {
        font-size: 22px;
    }

    .hesap-yonetici-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hesap-yonetici-orders-table table {
        font-size: 12px;
    }

    .hesap-yonetici-orders-table th,
    .hesap-yonetici-orders-table td {
        padding: 8px;
    }
}
