@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;700&display=swap');


/* ============================================
   UNIFIED DASHBOARD CSS
   Combină toate stilurile pentru dashboard
   ============================================ */

/* ============================================
   1. RESET ȘI STILURI GENERALE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body > header,
body > footer,
.site-header,
.site-footer,
#wpadminbar,
header.header2,
.woocommerce-checkout footer,
.header-title-breadcrumb.relative {
    display: none !important;
}
.sidebar-contact {
    padding: 5px 5px 15px;
}

span.title-contact {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.sidebar-contact a {
    display: block;
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
}

.sidebar-contact a i {
    color: #D3EDF7;
    margin-right: 5px;
}
body {
    font-family: 'Outfit', sans-serif;
    background: #f5f5f5;
    margin: 0 !important;
    padding: 0 !important;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

div#main {
    margin: 0 !important;
}

.woocommerce-notices-wrapper {
    margin: 0 30px 20px 30px;
}

.woocommerce-message {
    display: none !important;
}

/* ============================================
   2. SIDEBAR COMMON
   ============================================ */
.sidebar {
    width: 200px;
    background: #111F2E;
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    top: 0;
    z-index: 1000;
    display: flex
;
    flex-direction: column;
    place-content: space-between;
}

.sidebar-logo {
    text-align: center;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    background: #162B3D;
    margin-top: 0;
}

.sidebar-logo h2 {
    color: white;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
    display: block;
}

.sidebar-menu a {
    display: block;
    align-items: center;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    color: #EF3F4F;
    border-left: 3px solid #EF3F4F;
}

.sidebar-menu i {
    width: 20px;
    margin-right: 10px;
    font-size: 16px;
}

/* ============================================
   3. MAIN CONTENT LAYOUT
   ============================================ */
.main-content,
.entry-content .main-content {
    flex: 1;
    margin-left: 200px;
    background: #d3edf7;
}

.top-header {
    background: #dcf0f8;
    padding: 20px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-radius: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #111F2E;
    margin: 0 0 9px;
}

.breadcrumb {
    font-size: 13px;
    color: #fff;
    margin-top: 5px;
    background: #111F2E;
    display: inline-block;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.header-actions,
.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ============================================
   4. BUTTONS
   ============================================ */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: #162B3D;
    color: white;
}

.btn-primary:hover {
    background: #111F2E;
}

.btn-outline {
    background: transparent;
    color: #162B3D;
    border: 2px solid #162B3D;
}

.btn-outline:hover {
    background: #162B3D;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #e17774 !important;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-save {
    background: #162B3D;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(74, 155, 158, 0.3);
}

.btn-save:hover {
    background: #111F2E;
    box-shadow: 0 4px 8px rgba(74, 155, 158, 0.4);
    transform: translateY(-1px);
}

.btn-save:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-change-password {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-change-password:hover {
    border-color: #162B3D;
    color: #162B3D;
}

/* ============================================
   5. DASHBOARD HOME - STATS & CARDS
   ============================================ */
.dashboard-content {
    padding: 0 30px 30px;
}

.welcome-section h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.welcome-section p {
    color: #666;
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color, #162B3D);
}

.stat-card.orders::before { --accent-color: #162B3D; }
.stat-card.spent::before { --accent-color: #ff6b35; }
.stat-card.pending::before { --accent-color: #ffd23f; }
.stat-card.products::before { --accent-color: #7b68ee; }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    background: rgba(74, 155, 158, 0.1);
    color: #162B3D;
}

.stat-card.spent .stat-icon {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.stat-card.pending .stat-icon {
    background: rgba(255, 210, 63, 0.1);
    color: #ffd23f;
}

.stat-card.products .stat-icon {
    background: rgba(123, 104, 238, 0.1);
    color: #7b68ee;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.stat-change {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive {
    background: #e8f5e8;
    color: #2e7d32;
}

.stat-change.negative {
    background: #ffebee;
    color: #c62828;
}

/* ============================================
   6. DASHBOARD HOME - CONTENT GRID
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.chart-section,
.quick-actions,
.recent-orders {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.recent-orders {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container {
    height: 300px;
    position: relative;
}

.chart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
}

/* Quick Actions */
.action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}

.action-item:hover {
    background: #f8f9fa;
    margin: 0 -25px;
    padding-left: 25px;
    padding-right: 25px;
}

.action-item:last-child {
    border-bottom: none;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f0f8f8;
    color: #162B3D;
}

.action-content {
    flex: 1;
}

.action-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.action-desc {
    font-size: 13px;
    color: #666;
}

.action-arrow {
    color: #ccc;
    font-size: 16px;
}

/* Profile Summary */
.profile-summary {
    background: linear-gradient(135deg, #162B3D 0%, #111F2E 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
}

.profile-details h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-details p {
    opacity: 0.9;
    margin-bottom: 3px;
    color: #fff;
}

.profile-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
}

/* ============================================
   7. ORDERS - TABLES & FILTERS
   ============================================ */
.orders-content {
    padding: 0 30px 30px;
}

.orders-header {
    background: #dcf0f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filters-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group,
.filters-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item.search {
    min-width: 300px;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    min-width: 150px;
    width: 100%;
    transition: border-color 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #162B3D;
}

.search-box {
    position: relative;
}

.search-input::placeholder {
  color:#111;
}
.search-input {
    padding: 10px 30px 8px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    width: 250px;
    transition: border-color 0.3s;
    text-align: left;
}

.search-input:focus {
    outline: none;
    border-color: #162B3D;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 0;
}

.btn-filter {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-filter:hover {
    border-color: #162B3D;
    color: #162B3D;
}

.btn-filter.active {
    background: #162B3D;
    color: white;
    border-color: #162B3D;
}

/* Orders Table */
.orders-table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.orders-table,
.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td,
.shop_table th,
.shop_table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.orders-table th,
.shop_table thead th {
    background: #111F2E;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    position: sticky;
    top: 0;
}

.orders-table tbody tr,
.shop_table tbody tr {
    transition: background 0.3s;
}

.orders-table tbody tr:hover,
.shop_table tbody tr:hover {
    background: #f8f9fa;
}

.order-number {
    font-weight: 600;
    color: #162B3D;
    text-decoration: none;
}

.order-number:hover {
    text-decoration: underline;
}

.order-date {
    color: #666;
    font-size: 14px;
}

/* Order Status */
.order-status,
.status-pending,
.status-processing,
.status-completed,
.status-cancelled,
.status-on-hold,
.status-refunded,
.status-failed {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    min-width: 80px;
    display: inline-block;
}
.order-header-card .order-number {
    color: #fff;
}

.order-header-card .order-date {
    color: #fff;
}
.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #0066cc;
}

.status-on-hold {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f5f5f5;
    color: #6c757d;
}

.status-refunded {
    background: #e2e3e5;
    color: #383d41;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.order-items {
    max-width: 200px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 13px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-name {
    color: #333;
    line-height: 1.3;
}

.item-details {
    flex: 1;
}

.item-meta {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.order-total {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.order-actions {
    display: flex;
    gap: 8px;
}

/* Empty State */
.empty-orders,
.cart-empty,
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.empty-orders-icon,
.cart-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-orders h3,
.cart-empty h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.empty-orders p,
.cart-empty p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}
.confirmation-content .order-items {
    max-width: unset;
}
/* ============================================
   8. ACCOUNT / PROFILE
   ============================================ */
.account-content {
    padding: 0 30px 30px;
}

.profile-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-header .profile-avatar {
    width: 120px;
    height: 120px;
    background: #ffd4a3;
    border-radius: 10px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profile-header .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 50px;
}

.edit-avatar {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #162B3D;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.edit-avatar:hover {
    background: #111F2E;
    transform: scale(1.1);
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 14px;
    color: #162B3D;
    margin-bottom: 5px;
}

.profile-email {
    font-size: 14px;
    color: #666;
}

/* Form Fields */
.form-section {
    text-align: left;
}

.section-divider {
    margin: 35px 0;
    padding-top: 35px;
    border-top: 2px solid #f0f0f0;
}

.section-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    color: #162B3D;
    font-size: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row,
.form-group {
    margin-bottom: 20px;
}

.form-row.full-width {
    grid-column: 1 / -1;
}

.form-row label,
.form-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-row label .required {
    color: #ff4444;
}

.form-row input,
.form-row select,
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-control:focus {
    outline: none;
    border-color: #162B3D;
}

.form-row input:disabled {
    background: #f9f9f9;
    cursor: not-allowed;
}

.info-text {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 2px solid #f0f0f0;
}

/* Password Change Section */
.password-section {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

.password-section.active {
    display: block;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* ============================================
   9. PRODUCTS - GRID & CARDS
   ============================================ */
.products-content {
    padding: 30px;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-section {
    background: #dcf0f8;
    padding: 0;
    border-radius: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-header {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag,
.category-tag {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 11px;
    color: #666;
    display: inline-block;
}

.tag.exclusive {
    background: #ff4444;
    color: white;
}

.product-logo {
    width: 120px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-domain {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.product-domain a,
.product-domain-link a {
    color: #162B3D;
    text-decoration: none;
    transition: color 0.3s;
}

.product-domain a:hover,
.product-domain-link a:hover {
    color: #111F2E;
    text-decoration: underline;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: #ff4444;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-view-details {
    width: 100%;
    padding: 12px;
    background: #162B3D;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-view-details:hover {
    background: #111F2E;
    color: white;
}

/* SEO Metrics */
.seo-metrics {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    flex-wrap: wrap;
}

.seo-metric {
    flex: 1;
    min-width: 40px;
    text-align: center;
    padding: 5px;
    position: relative;
}

.seo-metric-label {
    font-size: 11px;
    color: #999;
    display: block;
}

.seo-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.seo-metrics-box {
    margin-top: 20px;
    padding: 20px;
    background: #f0f4ff;
    border-radius: 10px;
}

.seo-metrics-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.seo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metric-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 5px;
    position: relative;
}

.metric-label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
    color: #162B3D;
}

/* Tooltip styling */
.metric-info {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    cursor: help;
    position: relative;
    vertical-align: middle;
    color: #162B3D;
}

.metric-info::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 14px;
    background: #333;
    color: white;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
    max-width: 250px;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.metric-info::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    transition: opacity 0.3s;
}

.metric-info:hover::after,
.metric-info:hover::before {
    opacity: 1;
}

/* ============================================
   10. PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumb-nav {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #162B3D;
    text-decoration: none;
}

.product-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.product-image-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: fit-content;
}

.product-main-image {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-description-box {
    margin-top: 20px;
    padding: 20px;
    background: #fff9e6;
    border-radius: 10px;
    border: 1px solid #ffe066;
}

.product-description-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-description-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.product-description-content p {
    margin-bottom: 10px;
}

.product-details-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.product-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.product-categories {
    margin-bottom: 10px;
}

.product-domain-link {
    margin-top: 8px;
}

.price-box {
    background: #fef5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #fdddd;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.product-form {
    margin-top: 25px;
}

.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: #162B3D;
}

/* Upload Section */
.upload-info {
    background: #e8f4f4;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2c5f5f;
    line-height: 1.6;
}

.upload-info strong {
    margin-bottom: 5px;
    color: #1a4d4d;
}

.upload-info ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.upload-info ul li {
    margin-bottom: 5px;
}

.file-upload-wrapper {
    margin-bottom: 20px;
}

.file-upload-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-input:hover {
    border-color: #162B3D;
}

.file-input:focus {
    outline: none;
    border-color: #162B3D;
}

.file-preview {
    margin-top: 10px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 13px;
    color: #666;
    display: none;
}

.file-preview.active {
    display: block;
    background: white;
    border-color: #162B3D;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.file-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.file-list li:last-child {
    border-bottom: none;
}

.file-input[style*="border-color: rgb(255, 68, 68)"],
.file-input[style*="border-color: #ff4444"] {
    border-color: #ff4444 !important;
    background: #fff5f5;
}

.upload-info > div[style*="background: #fff3cd"] {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.add-to-cart-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-label {
    font-size: 14px;
    color: #666;
}

.quantity-input {
    width: 80px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.btn-add-to-cart {
    width: 100%;
    padding: 18px;
    background: #162B3D;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-to-cart:hover {
    background: #111F2E;
}

.description-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.description-content p {
    margin-bottom: 15px;
}

.tags-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.tags-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-tags,
.tag-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

/* ============================================
   11. CART
   ============================================ */
.cart-layout {
    max-width: 800px;
    margin: 0 auto;
}

.cart-items-section {
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    background: #FAFAFA;
}

.woocommerce-cart-form {
    width: 100%;
}

.product-remove a {
    color: #ff4444;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s;
}

.product-remove a:hover {
    color: #cc0000;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 5px;
}

.product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.product-name a:hover {
    color: #162B3D;
}

.product-meta {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.product-meta dl {
    margin: 0;
}

.product-meta dt,
.product-meta dd {
    display: inline;
    margin: 0;
}

.product-meta dt {
    font-weight: 600;
    margin-right: 5px;
}

.product-meta dd {
    margin-right: 15px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #162B3D;
}

.product-quantity input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
}

.product-subtotal {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.actions {
    padding: 20px 10px;
    border-top: 2px solid #e0e0e0;
}

.actions .button {
    background: #162B3D;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.actions .button:hover {
    background: #111F2E;
}

.cart-collaterals {
    position: sticky;
    top: 30px;
}

.cart_totals {
    background: white;
    padding: 30px 30px 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100% !important;
    float: none !important;
}

.cart_totals h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 20px;
}

.cart_totals th,
.cart_totals td {
    padding: 12px 0;
    text-align: left;
}

.cart_totals th {
    font-weight: 600;
    color: #666;
}

.cart_totals td {
    text-align: right;
    color: #333;
}

.order-total th,
.order-total td {
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.order-total td {
    color: #162B3D;
}

.wc-proceed-to-checkout {
    margin-top: 0;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: #162B3D;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #111F2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 155, 158, 0.3);
}

.continue-shopping {
    margin-top: 15px;
    text-align: center;
}

.continue-shopping a {
    color: #162B3D;
    text-decoration: none;
    font-size: 14px;
}

.continue-shopping a:hover {
    text-decoration: underline;
}

/* ============================================
   12. CHECKOUT
   ============================================ */
.checkout-content {
    padding: 0 30px 30px;
}

.billing-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.warning-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.warning-content h3 {
    color: #856404;
    font-size: 20px;
    margin-bottom: 10px;
}

.warning-content p {
    color: #856404;
    margin-bottom: 15px;
    font-size: 16px;
}

.checkout-simple-layout {
    max-width: 800px;
    margin: 0 auto;
}

.order-review-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.billing-info-display {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.billing-info-display h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-details p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.billing-details p strong {
    color: #333;
    display: inline-block;
    min-width: 100px;
}

.edit-billing-link {
    display: inline-block;
    margin-top: 10px;
    color: #162B3D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.edit-billing-link:hover {
    text-decoration: underline;
}

.no-billing-info {
    color: #dc3545;
    font-weight: 500;
}

.woocommerce-checkout-review-order h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.woocommerce-checkout-review-order table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout-review-order table th {
    font-weight: 600;
    color: #333;
}

.woocommerce-checkout-review-order .cart_item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 16px;
    line-height: 24px;
    color: #111;
}

.woocommerce-checkout-payment {
    background: white;
    padding: 0;
    border-radius: 8px;
    margin-top: 20px;
}

.woocommerce-checkout-payment .payment_methods {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.woocommerce-checkout-payment .payment_method {
    margin-bottom: 10px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.woocommerce-checkout-payment .payment_method:hover {
    border-color: #162B3D;
}

.woocommerce-checkout-payment .payment_method label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout-payment .payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #162B3D;
}

.woocommerce-checkout-payment .payment_method .payment_box {
    margin-top: 15px;
    padding: 15px;
    background: #f0f8f8;
    border-radius: 5px;
    font-size: 14px;
    color: #2c5f5f;
}

.woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
}

.woocommerce-terms-and-conditions-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    line-height: 1.5;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #162B3D;
}

.page-template-page-checkout td a.remove {
    position: absolute;
    top: 10px;
    right: 0;
}

tr.cart_item {
    position: relative;
}

.woocommerce-checkout #place_order {
    width: 100%;
    background: #162B3D;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    padding: 18px;
    padding: 0 !important;
}

.woocommerce-checkout #place_order:hover {
    background: #111F2E;
}

.woocommerce-checkout #place_order:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   13. ORDER CONFIRMATION
   ============================================ */
.confirmation-container {
    padding: 0 30px 30px;
}

.confirmation-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.confirmation-header {
    background: linear-gradient(135deg, #162B3D 0%, #111F2E 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.confirmation-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.confirmation-subtitle {
    font-size: 16px;
    opacity: 0.9;
    color: #fff;
}

.confirmation-content {
    padding: 30px;
}

.order-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.order-details h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    padding: 15px;
    background: #dcf0f8;
    border-radius: 5px;
    border-left: 4px solid #162B3D;
    margin-bottom: 5px;
}

.info-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.payment-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.payment-info h4 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 16px;
}

.payment-info p {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bank-details {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.bank-detail strong {
    color: #333;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.totals-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.total-row.final {
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.total-label {
    color: #666;
}

.total-value {
    font-weight: 500;
    color: #333;
}

.final .total-value {
    color: #ff4444;
}

/* ============================================
   14. ORDER DETAIL VIEW
   ============================================ */
.order-content {
    padding: 0 30px 30px;
}

.order-header-card {
    background: linear-gradient(135deg, #162B3D 0%, #111F2E 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.order-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.order-header-content {
    position: relative;
    z-index: 1;
}

.order-number-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.order-number {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 5px;
}

.order-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.progress-section {
    margin-top: 25px;
}

.progress-title {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

.order-items-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th,
.order-items-table td {
    padding: 15px 10px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.order-items-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.item-row {
    transition: background 0.3s;
}

.item-row:hover {
    background: #f8f9fa;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-quantity {
    font-weight: 500;
    color: #333;
    text-align: center;
}

.item-price {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.order-summary-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.summary-row.total {
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.summary-label {
    color: #666;
}

.summary-value {
    font-weight: 500;
    color: #333;
}

.total .summary-value {
    color: #162B3D;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-actions-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.timeline-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 30px;
    grid-column: 1 / -1;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #162B3D;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #162B3D;
}

.timeline-item:last-child::after {
    content: '';
    position: absolute;
    left: -21px;
    top: 32px;
    bottom: -20px;
    width: 2px;
    background: white;
}

.timeline-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.timeline-desc {
    font-size: 13px;
    color: #666;
}

.download-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.download-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #162B3D;
    font-size: 14px;
    transition: background 0.3s;
}

.download-link:hover {
    background: #e9ecef;
}

/* ============================================
   15. NOTIFICATIONS
   ============================================ */
.notifications-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 30px;
    grid-column: 1 / -1;
}

.notifications-container {
    margin-top: 20px;
}

.notifications-list {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.loading-notifications {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.notification-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #162B3D;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-item.admin-message {
    border-left-color: #ff9800;
    background: #fff8e1;
}

.notification-item.customer-message {
    border-left-color: #162B3D;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.notification-sender {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sender-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.sender-badge.admin {
    background: #ff9800;
    color: white;
}

.sender-badge.customer {
    background: #162B3D;
    color: white;
}

.notification-date {
    font-size: 12px;
    color: #666;
}

.notification-message {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.empty-notifications {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-notifications svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.notification-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.notification-form h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.notification-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.notification-form textarea:focus {
    outline: none;
    border-color: #162B3D;
}

.char-count {
    font-size: 12px;
    color: #666;
}

.char-count.warning {
    color: #ff9800;
}

.char-count.error {
    color: #dc3545;
}

.notification-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    min-width: 18px;
    text-align: center;
}

.notification-alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    animation: slideIn 0.3s ease-out;
}

.notification-alert.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.notification-alert.error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* ============================================
   16. ALERTS & MESSAGES
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.6;
}

.alert-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}

.alert-warning {
    background: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.6;
}

.woocommerce-error {
    background: #ffebee;
    border-left-color: #f44336;
    color: #c62828;
}

.woocommerce-error a {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: underline;
}

.woocommerce-message {
    background: #e8f5e8;
    border-left-color: #4caf50;
    color: #2e7d32;
}

.woocommerce-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
    color: #1565c0;
}

/* ============================================
   17. AUTH PAGES (LOGIN, REGISTER, RESET)
   ============================================ */



.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: white;
}

.logo-circle::before {
    content: 'A';
    font-size: 36px;
    font-weight: bold;
    color: #666;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}

.auth-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.auth-subtitle a {
    color: #111F2E;
    text-decoration: none;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #111F2E;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #111F2E;
    text-decoration: none;
    font-size: 14px;
}

.version {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #999;
    font-size: 12px;
}

/* Pending Page */
.pending-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pending-box {
    background: white;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.pending-box .success-icon {
    width: 100px;
    height: 100px;
    background: #ffc107;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 50px;
    color: white;
}

.pending-box .success-icon::before {
    content: '⏳';
}

.pending-box h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.pending-box .message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.login-button {
    display: inline-block;
    padding: 15px 40px;
    background: #111F2E;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.login-button:hover {
    background: #5a6bd8;
    color: white;
    text-decoration: none;
}

.info-box {
    background: #f0f4ff;
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
    border-left: 4px solid #111F2E;
}

.info-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.info-box ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 14px;
}

.info-box li {
    margin-bottom: 8px;
}

/* ============================================
   18. UTILITY CLASSES
   ============================================ */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #162B3D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    text-align: center;
    padding: 50px;
}

.upload-progress {
    display: none;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: #162B3D;
    width: 0%;
    transition: width 0.3s;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #162B3D;
    color: white;
    border-color: #162B3D;
}

.pagination .current {
    background: #162B3D;
    color: white;
    border-color: #162B3D;
}

/* Order Modal */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.order-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    position: relative;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 25px;
}

/* ============================================
   19. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .product-container {
        grid-template-columns: 1fr;
    }
    
    .product-image-section {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .orders-table-container,
    .cart-layout {
        overflow-x: auto;
    }
    
    .orders-table {
        min-width: 800px;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-collaterals,
    .order-summary-section {
        position: static;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar-logo h2,
    .sidebar-menu span {
        display: none;
    }
    
    .main-content,
    .entry-content .main-content {
        margin-left: 60px;
    }
    
    .orders-content,
    .top-header,
    .dashboard-content,
    .account-content,
    .products-content,
    .order-content,
    .checkout-content,
    .confirmation-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .filters-section,
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .orders-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .orders-table,
    .shop_table {
        font-size: 12px;
    }
    
    .orders-table th,
    .orders-table td,
    .shop_table th,
    .shop_table td {
        padding: 8px;
    }
    
    .shop_table thead {
        display: none;
    }
    
    .shop_table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
    }
    
    .shop_table tbody td {
        display: block;
        padding: 10px 0;
        border: none;
    }
    
    .product-remove {
        text-align: right;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .user-actions,
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .order-number-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-items-table {
        font-size: 14px;
    }
    
    .item-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .item-image {
        width: 50px;
        height: 50px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .billing-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .order-info {
        grid-template-columns: 1fr;
    }
    
    .confirmation-header {
        padding: 30px 20px;
    }
    
    .confirmation-title {
        font-size: 24px;
    }
    
    .notifications-list {
        max-height: 400px;
    }
    
    .notification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .auth-container {
        flex-direction: column;
    }
    
    .auth-right {
        display: none;
    }
    
    .auth-left {
        padding: 20px;
    }
    
    .auth-form,
    .profile-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   20. PRINT STYLES
   ============================================ */
@media print {
    .sidebar,
    .top-header,
    .header-actions,
    .btn,
    .order-actions,
    .notification-form {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .order-header-card {
        background: white !important;
        color: black !important;
    }
}
  .cart-empty {
        text-align: center;
        padding: 20px !important;
        max-width: 800px;
        margin: 0 auto;
    }

    .cart-empty-icon {
        font-size: 80px;
        margin-bottom: 30px;
        opacity: 0.3;
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    .cart-empty h2 {
        font-size: 28px;
        color: #333;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .cart-empty p {
        color: #666;
        margin-bottom: 40px;
        font-size: 16px;
    }
/* register */
     @media (max-width: 768px) {
      

        .cart-empty {
            padding: 60px 15px;
        }

        .cart-empty-icon {
            font-size: 64px;
        }

        .cart-empty h2 {
            font-size: 24px;
        }

        .cart-empty p {
            font-size: 14px;
        }
    }  
        
        .auth-container {
            display: block;
            min-height: 100vh;
            background: #162B3D;
        }
        
        .auth-left {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            /* background: #162B3D; */
            height: 100vh;
            position: relative;
            z-index: 99;
        }
        
        .auth-right {
            flex: 1;
            /* background: linear-gradient(135deg, #111F2E 0%, #764ba2 100%); */
            position: relative;
            overflow: hidden;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            top: 0;
            height: 50vh;
        }
        
        .auth-right::before {
              content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    
    /* Imagine + gradient negru */
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* gradient peste */
            url(https://e-advertoriale.ro/wp-content/uploads/2025/10/12411-1.jpg) center / cover no-repeat;
    
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0% 50%);
        }
        
        .auth-form {
            width: 100%;
            max-width: 400px;
            background: white;
            padding: 50px 40px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }
        
        .logo {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .logo-circle {
            width: 80px;
            height: 80px;
            border: 3px solid #e9ecef;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            background: white;
            font-size: 36px;
            font-weight: bold;
            color: #111F2E;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            letter-spacing: 2px;
        }
        
        .auth-title {
            font-size: 22px;
            font-weight: 600;
            color: #333;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .auth-subtitle {
            text-align: center;
            margin-bottom: 30px;
            font-size: 14px;
            color: #666;
        }
        
        .auth-subtitle a {
            color: #111F2E;
            text-decoration: none;
            font-weight: 500;
        }
        
        .auth-subtitle a:hover {
            text-decoration: underline;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
            background: #fff;
        }
        
        .form-control:focus {
            outline: none;
            border-color: #111F2E;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
        .form-control.error {
            border-color: #dc3545;
        }
        
        .btn-primary {
            padding: 10px 20px;
            background: #111F2E;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 400;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            border: 2px solid #162B3D;
            display: inline-block;
        }
        
        .btn-primary:hover:not(:disabled) {
            background: #111;
            transform: translateY(-1px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        .btn-primary:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }
        
        .btn-primary.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid #fff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spinner 0.8s linear infinite;
        }
        
        @keyframes spinner {
            to { transform: rotate(360deg); }
        }
        
        .error-message {
            color: #dc3545;
            font-size: 13px;
            margin-top: 5px;
            display: none;
        }
        
        .version {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: rgba(255,255,255,0.6);
            font-size: 12px;
            display: none;
        }
        
        @media (max-width: 768px) {
            .auth-container {
                flex-direction: column;
            }
            
            .auth-right {
                display: none;
            }
            
            .auth-left {
                padding: 20px;
            }
            
            .auth-form {
                padding: 40px 30px;
                box-shadow: none;
            }
        }


        .auth-form button.btn-primary {
    display: block;
    width: 100%;
    font-weight: bold;
}

.auth-form input.form-control {
    height: 40px;
    margin-bottom: 10px !important;
}

.auth-form .form-group {
    margin-bottom: 10px !important;
}

.dropdown-divider {
    background: #EF3F4F !important;
}