/* Profile Page Styles */

/* Profile Content */
.profile-content {
    padding: 40px 0;
    min-height: calc(100vh - 160px);
    background-color: #f8f9fa;
}

.profile-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile Sidebar */
.profile-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.profile-nav {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

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

.nav-item a:hover {
    background-color: #f8f9fa;
    color: #000;
}

.nav-item.active a {
    background-color: #f0f0f0;
    color: #000;
    border-left-color: #000;
    font-weight: 600;
}

.nav-item a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Profile Main */
.profile-main {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.section-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.section-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.admin-panel-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #000, #343a40);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-panel-callout__content h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.admin-panel-callout__content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.admin-panel-callout__badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-panel-callout__button {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.admin-panel-callout__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .admin-panel-callout {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-panel-callout__button {
        width: 100%;
        text-align: center;
    }
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
}

.form-group input[readonly] {
    background-color: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

.form-note {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.save-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.save-btn:hover {
    background-color: #333;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #333;
}

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.favorite-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.favorite-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.favorite-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f8f9fa;
    flex-shrink: 0;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.favorite-item:hover .favorite-image img {
    transform: scale(1.03);
}

/* Favori badge kaldırıldı */

.favorite-item-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.favorite-item-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.favorite-item-info .price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.favorite-item-info .price::before {
    content: "₺";
    font-size: 14px;
}

.favorite-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.favorite-date::before {
    content: "📅";
    font-size: 10px;
}

.favorite-item .actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.favorite-item .btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.favorite-item .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.favorite-item .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4);
}

.favorite-item .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.favorite-item .btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
}

.favorite-item.unavailable {
    opacity: 0.7;
}

.favorite-item.unavailable .favorite-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.unavailable-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.stock-info {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    margin: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.stock-info.in-stock {
    background-color: #d4edda;
    color: #155724;
}

.stock-info.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

.favorite-item-info .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

.favorite-item-info .new-price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 18px;
}

/* Orders List */
.order-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-number {
    font-weight: 600;
    color: #333;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.order-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.order-status.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-items {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.order-item-details {
    font-size: 14px;
    color: #666;
}

/* Order Timeline Styles */
.order-timeline {
    position: relative;
    padding: 20px 0;
    margin: 20px 0;
    border-left: 2px solid #e9ecef;
    margin-left: 20px;
}

.timeline-step {
    position: relative;
    padding-left: 40px;
    margin-bottom: 24px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.timeline-step.completed .timeline-icon {
    background-color: #28a745 !important;
}

.timeline-step.active .timeline-icon {
    background-color: #007bff !important;
    animation: pulse 2s infinite;
}

.timeline-step:not(.completed):not(.active) .timeline-icon {
    background-color: #e9ecef !important;
    color: #999;
}

.timeline-line {
    position: absolute;
    left: -2px;
    top: 24px;
    width: 2px;
    height: calc(100% + 8px);
    background-color: #e9ecef;
    z-index: 1;
}

.timeline-step.completed .timeline-line {
    background-color: #28a745;
}

.timeline-content {
    padding-top: 2px;
}

.timeline-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-step:not(.completed) .timeline-label {
    color: #999;
}

.timeline-date {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.timeline-tracking {
    font-size: 12px;
    color: #007bff;
    margin-top: 6px;
    padding: 6px 10px;
    background-color: #e7f3ff;
    border-radius: 4px;
    display: inline-block;
}

.timeline-tracking strong {
    margin-right: 4px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0);
    }
}

/* Order Items Preview */
.order-items-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.order-item-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-item-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.order-item-preview-info {
    flex: 1;
    min-width: 0;
}

.order-item-preview-info .order-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-preview-info .order-item-details {
    font-size: 11px;
    color: #666;
}

.order-more-items {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    background-color: #fff;
    border-radius: 6px;
    min-width: 100px;
}

/* Order Footer */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 20px;
}

.order-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.order-total-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.order-total-value {
    font-weight: 700;
    color: #000;
    font-size: 20px;
}

.order-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.order-actions .btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.order-actions .btn:hover {
    background-color: #f8f9fa;
}

.order-actions .btn-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.order-actions .btn-primary:hover {
    background-color: #0056b3;
}

/* Order Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.order-modal {
    background-color: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: #e9ecef;
    color: #333;
}

.modal-body {
    padding: 30px;
}

.order-detail-section {
    margin-bottom: 25px;
}

.order-detail-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.order-info-item {
    display: flex;
    flex-direction: column;
}

.order-info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.completed {
    background-color: #d4edda;
    color: #155724;
}

.order-status-badge.processing {
    background-color: #fff3cd;
    color: #856404;
}

.order-status-badge.shipped {
    background-color: #cce5ff;
    color: #004085;
}

.order-status-badge.delivered {
    background-color: #d1ecf1;
    color: #0c5460;
}

.order-status-badge.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-items-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.order-item-detail-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.order-item-detail-info {
    flex: 1;
}

.order-item-detail-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.order-item-detail-specs {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.order-item-detail-price {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.order-item-detail-quantity {
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.order-summary-detail {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.order-summary-row.total {
    font-weight: 600;
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
}

.delivery-address-detail {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
}

.address-detail-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-detail-item:last-child {
    margin-bottom: 0;
}

.address-detail-item i {
    color: #007bff;
    margin-top: 4px;
    font-size: 14px;
}

.order-note-detail {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

.order-note-detail p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Order Timeline Detail (in Modal) */
.order-timeline-detail {
    position: relative;
    padding: 20px 0;
    margin: 20px 0;
    border-left: 2px solid #e9ecef;
    margin-left: 20px;
}

.timeline-step-detail {
    position: relative;
    padding-left: 50px;
    margin-bottom: 28px;
}

.timeline-step-detail:last-child {
    margin-bottom: 0;
}

.timeline-icon-detail {
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.timeline-step-detail.completed .timeline-icon-detail {
    background-color: #28a745 !important;
}

.timeline-step-detail.active .timeline-icon-detail {
    background-color: #007bff !important;
    animation: pulse 2s infinite;
}

.timeline-step-detail:not(.completed):not(.active) .timeline-icon-detail {
    background-color: #e9ecef !important;
    color: #999;
}

.timeline-line-detail {
    position: absolute;
    left: -2px;
    top: 30px;
    width: 2px;
    height: calc(100% + 8px);
    background-color: #e9ecef;
    z-index: 1;
}

.timeline-step-detail.completed .timeline-line-detail {
    background-color: #28a745;
}

.timeline-content-detail {
    padding-top: 2px;
}

.timeline-label-detail {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 6px;
}

.timeline-step-detail:not(.completed) .timeline-label-detail {
    color: #999;
}

.timeline-date-detail {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-date-detail i {
    font-size: 11px;
}

.timeline-tracking-detail {
    font-size: 13px;
    color: #007bff;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #e7f3ff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.timeline-tracking-detail i {
    font-size: 12px;
}

.timeline-tracking-detail strong {
    margin-right: 4px;
}

.delivery-address-detail strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .order-item-detail-image {
        width: 100px;
        height: 100px;
    }
}

/* Add Address Section */
.add-address-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.add-address-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Address Form Container */
.address-form-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.address-form {
    max-width: 600px;
}

.address-form .form-group {
    margin-bottom: 20px;
}

.address-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.address-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.address-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.address-form input,
.address-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.address-form input:focus,
.address-form select:focus {
    outline: none;
    border-color: #000;
}

.address-form select {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn-secondary {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

/* Addresses List */
.address-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.address-title {
    font-weight: 600;
    color: #333;
}

.address-type {
    padding: 2px 8px;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
}

.address-details {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.address-actions {
    display: flex;
    gap: 10px;
}

.address-actions .btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.address-actions .btn:hover {
    background-color: #f8f9fa;
}

.address-actions .btn-danger {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.address-actions .btn-danger:hover {
    background-color: #c82333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-sidebar {
        width: 100%;
    }
    
    .profile-nav {
        padding: 15px 0;
    }
    
    .nav-item a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .profile-main {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .address-form-container {
        padding: 20px;
    }
    
    .address-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .btn-secondary,
    .form-actions .btn-primary {
        width: 100%;
    }
    
    .section-header h1 {
        font-size: 20px;
    }
    
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .favorites-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-items {
        flex-direction: column;
        gap: 10px;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .address-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .profile-content {
        padding: 20px 0;
    }
    
    .profile-main {
        padding: 15px;
    }
    
    .nav-item a {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .nav-item a i {
        width: 16px;
        font-size: 14px;
    }
    
    .section-header h1 {
        font-size: 18px;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .save-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    
    .favorites-list {
        grid-template-columns: 1fr;
    }
    
    .empty-state {
        padding: 40px 15px;
    }
    
    .empty-state i {
        font-size: 36px;
    }
    
    .empty-state h3 {
        font-size: 16px;
    }
}

/* Favorites Styles */
.favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorite-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: box-shadow 0.2s ease;
}

.favorite-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.favorite-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-item-info {
    flex: 1;
}

.favorite-item-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.favorite-item-info .price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 8px;
}

.favorite-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.favorite-item .actions {
    display: flex;
    gap: 10px;
}

.favorite-item .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.favorite-item .btn-primary {
    background-color: #007bff;
    color: white;
}

.favorite-item .btn-primary:hover {
    background-color: #0056b3;
}

.favorite-item .btn-danger {
    background-color: #dc3545;
    color: white;
}

.favorite-item .btn-danger:hover {
    background-color: #c82333;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 24px;
}

.empty-state h3 {
    margin: 0 0 12px 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.empty-state p {
    margin: 0 0 32px 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.empty-state .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.empty-state .btn-primary::before {
    content: "🛍️";
    font-size: 18px;
}

/* Add Address Section */
.add-address-section {
