/* ============================================
   COMPONENTS CSS - Consolidated Styles
   Tập hợp tất cả inline styles thành file CSS dễ quản lý
============================================ */

/* ============================================
   ORDER TRACKING COMPONENTS
============================================ */

/* Order tracking title */
.order-track-title {
    font-size: 32px;
    font-weight: 700;
}

.order-track-description {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.6;
}

/* Order tracking form inputs */
.order-track-input {
    width: 100%;
    padding: 13px 15px 13px 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fcfcfc;
}

.order-track-button {
    height: 50px;
}

/* Order result header */
.order-result-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4a7d1a 100%);
    min-height: 120px;
}

.order-status-text {
    font-size: 12px;
    letter-spacing: 1.5px;
}

.order-number {
    font-size: 28px;
}

.order-status-badge {
    font-size: 14px;
}

.order-status-icon {
    font-size: 10px;
}

/* Stepper components */
.stepper-line {
    height: 6px;
    background: #f4f4f4;
    top: 24px;
    left: 0;
    z-index: 0;
    border-radius: 10px;
}

.stepper-line-active {
    height: 6px;
    background: var(--color-primary);
    top: 24px;
    left: 0;
    z-index: 0;
    transition: width 1s ease-in-out;
    border-radius: 10px;
}

.step-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Product items */
.product-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background: #f2f2f2;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-title {
    font-size: 15px;
}

.product-price-text {
    font-size: 16px;
}

/* Info sections */
.info-section-title {
    font-size: 12px;
    letter-spacing: 1px;
}

.icon-circle {
    font-size: 20px;
    width: 24px;
}

/* Summary section */
.summary-title {
    font-size: 12px;
    letter-spacing: 1px;
}

.summary-total {
    font-size: 26px;
}

/* ============================================
   ACCOUNT PROFILE COMPONENTS
============================================ */

/* Profile modals */
.order-detail-modal,
.add-address-modal {
    display: none;
}

.order-detail-modal.show,
.add-address-modal.show {
    display: block;
}

/* Profile sections */
.profile-section {
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.profile-form-group {
    margin-bottom: 16px;
}

.profile-label {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.profile-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-secondary);
    font-size: 14px;
}

.profile-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 200, 40, 0.2);
    outline: none;
}

/* Order cards */
.order-card {
    background: var(--color-product-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.order-number-text {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-total {
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Address cards */
.address-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
}

.address-card.default {
    border-color: var(--color-primary);
    background: rgba(255, 200, 40, 0.05);
}

.address-default-badge {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   SEARCH MODAL COMPONENTS
============================================ */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.search-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: var(--color-white);
    padding: 60px 0;
}

.close-search {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-search:hover {
    background: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-header {
    position: relative;
    margin-bottom: 60px;
}

.search-header input {
    width: 100%;
    padding: 25px 60px 25px 20px;
    border: none;
    border-bottom: 3px solid var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: transparent;
    outline: none;
    color: var(--color-secondary);
}

.search-icon-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-secondary);
    pointer-events: none;
}

/* ============================================
   CONTACT FORM COMPONENTS
============================================ */

.contact-form-section {
    background: var(--color-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contact-form-title {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 200, 40, 0.2);
    outline: none;
}

.contact-submit-btn {
    background: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 200, 40, 0.3);
}

/* ============================================
   BLOG COMPONENTS
============================================ */

.blog-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-title {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    color: var(--color-secondary-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   UTILITY CLASSES
============================================ */

/* Spacing utilities */
.mb--15 { margin-bottom: 15px; }
.mb--25 { margin-bottom: 25px; }
.mb--30 { margin-bottom: 30px; }
.mb--40 { margin-bottom: 40px; }
.mb--50 { margin-bottom: 50px; }

.p--30 { padding: 30px; }
.p--40 { padding: 40px; }
.p--50 { padding: 50px; }

.py--80 { padding-top: 80px; padding-bottom: 80px; }

/* Border radius utilities */
.border-radius-5 { border-radius: 5px; }
.border-radius-8 { border-radius: 8px; }
.border-radius-10 { border-radius: 10px; }
.border-radius-12 { border-radius: 12px; }

/* Shadow utilities */
.shadow-sm { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.hover-shadow { transition: box-shadow 0.3s ease; }
.hover-shadow:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Animation utilities */
.transition { transition: all 0.3s ease; }
.animate-fade-in { animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Background utilities */
.bg-light-soft { background-color: #fbfcfa; }
.bg-primary-light { background-color: rgba(255, 200, 40, 0.04); }
.bg-product { background-color: var(--color-product-bg); }

/* Border utilities */
.border-light-2 { border: 1px solid #f2f2f2; }
.border-faint-1 { border: 1px solid #f8f8f8; }

/* Text utilities */
.fw-extrabold { font-weight: 800; }
.text-nowrap { white-space: nowrap; }

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 768px) {
    .order-track-title {
        font-size: 24px;
    }
    
    .order-track-description {
        font-size: 14px;
    }
    
    .order-number {
        font-size: 20px;
    }
    
    .close-search {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .search-header input {
        font-size: 1.5rem;
        padding: 20px 50px 20px 15px;
    }
    
    .step-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .profile-section {
        padding: 16px;
    }
    
    .contact-form-section {
        padding: 20px;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
}
/* ============================================
   ORDER TRACKING SPECIFIC STYLES
   Styles moved from inline to centralized CSS
============================================ */

/* Theme Color Mapping */
.text-yellow { color: var(--color-warning); }
.text-blue { color: var(--color-info); }
.text-purple { color: var(--color-secondary); }
.text-green { color: var(--color-success); }
.text-red { color: var(--color-danger); }
.text-gray { color: var(--color-body); }

/* Tracking Form */
.tracking-form-card .single-input input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 200, 40, 0.1);
    background: #f2f2f2;
}

/* Section Title */
.section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
    font-size: 4.3rem;
    letter-spacing: 0.5px;
    color: var(--color-heading-1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 5px;
}

/* Stepper Enhanced Styles */
.step-item .step-icon {
    border: 4px solid #f0f0f0;
    background-color: #f2f2f2;
    color: var(--color-primary);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.step-item .step-label {
    color: #999;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-item.active .step-icon {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #f2f2f2;
    box-shadow: 0 0 0 8px rgba(255, 200, 40, 0.15);
}

.step-item.active .step-label {
    color: var(--color-primary);
    font-weight: 700;
}

.step-item.exact .step-icon {
    animation: pulse-primary 1.2s infinite ease-in-out;
}

@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(255, 200, 40, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 200, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 200, 40, 0); }
}

/* Mobile Responsive for Order Tracking */
@media (max-width: 768px) {
    .result-header { 
        padding: 30px !important; 
        text-align: center; 
        justify-content: center !important; 
    }
    
    .p--50, .p--40 { 
        padding: 25px !important; 
    }
    
    .stepper-wrapper { 
        flex-direction: column; 
        gap: 40px; 
        padding-left: 50px; 
        align-items: flex-start; 
    }
    
    .stepper-line, .stepper-line-active { 
        width: 6px !important; 
        height: 100% !important; 
        top: 0 !important; 
        left: 35px !important; 
    }
    
    .step-item { 
        display: flex; 
        align-items: center; 
        text-align: left; 
        gap: 20px; 
    }
    
    .step-item .step-label { 
        margin-top: 0 !important; 
        font-size: 13px !important; 
    }
    
    .step-item .step-icon { 
        width: 44px !important; 
        height: 44px !important; 
        font-size: 16px !important; 
    }
}

/* ============================================
   ZEFULE ACCOUNT PAGE STYLES
   Moved from profile.blade.php inline styles
============================================ */

/* Zefule Account Page Styles */
.zefule-breadcrumb {
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.zefule-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.breadcrumb-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #000;
}

.breadcrumb-nav a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-nav a:hover {
    opacity: 0.7;
}

.separator {
    opacity: 0.6;
}

.current {
    opacity: 0.7;
}

/* Account Area */
.zefule-account-area {
    padding: 80px 0;
    background: #f8f9fa;
}

.account-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar */
.account-sidebar {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-profile-card {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.user-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #000;
    margin: 0 auto;
}

.user-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.user-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Navigation */
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #000;
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    color: #000;
    font-weight: 800;
}

.nav-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.logout-btn {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    color: #dc3545 !important;
}

.logout-btn:hover {
    background: #fff5f5;
    color: #dc3545 !important;
}

/* Main Content */
.account-main-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.section-header p {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 1rem;
}

/* Dashboard Styles */
.dashboard-welcome {
    padding: 0;
}

.welcome-header {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.welcome-header p {
    color: #666;
    font-size: 1.1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
}

.stat-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #000;
    margin: 0 0 5px 0;
}

.stat-info p {
    color: #666;
    margin: 0;
    font-weight: 600;
}

/* Recent Orders */
.recent-orders h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.order-info h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
    margin: 0 0 5px 0;
}

.order-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipping { background: #e2e3ff; color: #383d41; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-total {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffc828;
}

/* Orders Section */
.order-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.order-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-number h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #000;
    margin: 0 0 5px 0;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.items-count {
    color: #666;
    font-size: 0.9rem;
}

.total-amount {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffc828;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffb800 0%, #ffa000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 200, 40, 0.4);
}

.btn-outline {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #ffc828;
    color: #000;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background: #dc3545;
    color: white;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffc828;
    box-shadow: 0 0 0 3px rgba(255, 200, 40, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Features Section */
.zefule-features-section {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 80px 0;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
}

.feature-content p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Address Management */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.address-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.address-card.default {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #fff3c4 0%, #f8f9fa 100%);
}

.default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffc828 0%, #ffb800 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.address-info h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #000;
    margin: 0 0 10px 0;
}

.address-info p {
    margin: 5px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-info i {
    width: 16px;
    color: var(--color-primary);
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Add Address Modal */
.add-address-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.add-address-modal .modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.add-address-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 2px solid #f0f0f0;
}

.add-address-modal .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #000;
}

.address-form {
    padding: 30px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkmark {
    font-size: 0.9rem;
}

/* Order Detail Modal */
.order-detail-modal {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.order-detail-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.order-detail-modal .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.order-detail-modal .modal-content {
    background: white;
    border-radius: 12px;
    padding: 25px;
}

/* Tracking Form */
.tracking-form-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.tracking-form .form-group {
    margin-bottom: 25px;
}

.tracking-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.tracking-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tracking-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 200, 40, 0.1);
}

.tracking-form small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .account-grid {
        grid-template-columns: 300px 1fr;
        gap: 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .zefule-account-area {
        padding: 40px 0;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .add-address-modal .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .add-address-modal .modal-header,
    .address-form {
        padding: 20px;
    }
    
    .tracking-form-container {
        padding: 25px;
    }
}
/* ============================================
   TABLE OF CONTENTS (TOC) COMPONENTS
   Moved from blog/show.blade.php and templates/default.blade.php
============================================ */

/* TOC Styles - Used in both blog and page templates */
.blog-toc,
.page-toc {
    background: #fffbee;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 36px;
}

.blog-toc__header,
.page-toc__header {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-toc__header i,
.page-toc__header i {
    color: var(--color-primary);
}

.blog-toc__list,
.page-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blog-toc__list li a,
.page-toc__list li a {
    font-size: 0.9rem;
    color: var(--color-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.blog-toc__list li a::before,
.page-toc__list li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.blog-toc__list li a:hover,
.page-toc__list li a:hover {
    color: var(--color-primary);
}

.blog-toc__list li.toc-h3,
.page-toc__list li.toc-h3 {
    padding-left: 18px;
}

.blog-toc__list li.toc-h3 a::before,
.page-toc__list li.toc-h3 a::before {
    width: 4px;
    height: 4px;
    background: #ccc;
}

/* ============================================
   ENTRY CONTENT TYPOGRAPHY
   Shared styles for blog and page content
============================================ */

.entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content p {
    margin-bottom: 1.4em;
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin: 2.2em 0 0.7em;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.entry-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 1.8em 0 0.6em;
    padding-left: 14px;
    border-left: 4px solid var(--color-primary);
}

.entry-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 1.4em 0 0.5em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.4em;
    padding-left: 0;
    list-style: none;
}

.entry-content ul li,
.entry-content ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #444;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.entry-content ol {
    counter-reset: ol-counter;
}

.entry-content ol li {
    counter-increment: ol-counter;
}

.entry-content ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.85rem;
}

.entry-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: var(--color-primary);
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 20px 28px;
    background: #fffbee;
    border-left: 5px solid var(--color-primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
}

.entry-content blockquote p {
    margin: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.entry-content table th {
    background: var(--color-secondary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
}

.entry-content table td {
    padding: 11px 16px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

.entry-content table tr:nth-child(even) td {
    background: #fafafa;
}

.entry-content hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 2.5em 0;
}

.entry-content strong {
    color: var(--color-secondary);
    font-weight: 700;
}

.entry-content em {
    font-style: italic;
    color: #555;
}

.entry-content code {
    background: #f4f4f4;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: monospace;
    color: #c0392b;
}

.entry-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px 24px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* ============================================
   BLOG SPECIFIC COMPONENTS
============================================ */

/* Blog Hero */
.blog-hero {
    background: var(--color-secondary);
    padding: 64px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
}

.blog-hero__category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.blog-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--color-primary);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.blog-hero__meta {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-hero__meta i {
    color: var(--color-primary);
    margin-right: 4px;
}

.meta-dot {
    color: var(--color-primary);
    font-weight: 900;
}

/* Blog Body */
.blog-body {
    padding: 60px 0 80px;
    background: #f7f7f7;
}

.blog-layout {
    max-width: 100%;
    margin: 0 auto;
}

/* Featured Image */
.blog-featured {
    margin-bottom: 40px;
}

.blog-featured__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Content card */
.blog-content {
    background: #f2f2f2;
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* Blog Footer */
.blog-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-footer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    background: var(--color-primary);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 16px;
}

.blog-footer__share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.share-btn:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

/* Related Posts */
.blog-related {
    padding: 60px 0;
    background: var(--color-primary);
}

.blog-related__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.blog-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-card {
    background: #f2f2f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.related-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-card__img img {
    transform: scale(1.05);
}

.related-card__content {
    padding: 24px;
}

.related-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card__meta {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* ============================================
   PAGE SPECIFIC COMPONENTS
============================================ */

/* Page Hero */
.page-hero {
    background: var(--color-secondary);
    padding: 64px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-primary);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.page-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Page Body */
.page-body {
    padding: 60px 0 80px;
    background: #f7f7f7;
}

.page-layout {
    max-width: 100%;
    margin: 0 auto;
}

/* Page Content card */
.page-content {
    background: #f2f2f2;
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* ============================================
   RESPONSIVE DESIGN FOR BLOG & PAGE COMPONENTS
============================================ */

@media (max-width: 768px) {
    .blog-content,
    .page-content {
        padding: 28px 20px;
    }
    
    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-footer__share {
        align-self: stretch;
        justify-content: center;
    }
}
/* ============================================
   BLOG INDEX SPECIFIC STYLES
============================================ */

.blog-card-footer svg {
    margin-left: 10px;
}