/* ============================================
   USERS.CSS - Унифициран стил за всички потребителски страници
   ============================================ */

/* ============================================
   1. BASE LAYOUT STYLES
   ============================================ */
#body.user-layout,
#body.login-layout,
#body.profile-layout,
#body.userOrder-layout,
#body.wishlist-layout {
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px;
}

#body.login-layout {
    padding: 20px 0 60px;
}

.user-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer adjustment */
.modernLayout-footer {
    margin-top: 10px !important;
}

/* ============================================
   2. NAVIGATION STYLES
   ============================================ */
.user-nav,
.profilePage-nav,
.userOrder-nav {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.user-nav ul,
.profilePage-nav ul,
.userOrder-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-nav li,
.profilePage-nav li,
.userOrder-nav li {
    flex: 1;
    min-width: 100px;
}

.user-nav a,
.profilePage-nav a,
.userOrder-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 15px;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-nav li:last-child a,
.profilePage-nav li:last-child a,
.userOrder-nav li:last-child a {
    border-right: none;
}

.user-nav a:hover,
.profilePage-nav a:hover,
.userOrder-nav a:hover {
    background: #f8fafc;
    color: #09a372;
    text-decoration: none;
}

.user-nav a.active,
.profilePage-nav a.active,
.userOrder-nav a.active {
    background: linear-gradient(135deg, #09a372, #10b981);
    color: white;
}

.user-nav a.logout,
.profilePage-nav a.logout,
.userOrder-nav a.logout {
    color: #dc2626;
}

.user-nav a.logout:hover,
.profilePage-nav a.logout:hover,
.userOrder-nav a.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* ============================================
   3. HEADER STYLES
   ============================================ */
.user-header,
.loginPage-header,
.profilePage-header,
.userOrder-header,
.wishlist-header {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.user-title,
.loginPage-title,
.profilePage-title,
.userOrder-title,
.wishlist-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.user-title i,
.loginPage-title i,
.profilePage-title i,
.userOrder-title i,
.wishlist-title i {
    color: #09a372;
    font-size: 24px;
}

.wishlist-title i {
    color: #dc2626;
}

.user-subtitle,
.loginPage-subtitle,
.profilePage-subtitle,
.userOrder-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* ============================================
   4. PANEL/SECTION STYLES
   ============================================ */
.user-panel,
.loginPage-panel,
.profilePage-panel,
.userOrder-section,
.wishlist-products {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.user-panel-header,
.profilePage-panel-header,
.userOrder-section-header,
.wishlist-products-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.loginPage-panel-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.user-panel-header i,
.loginPage-panel-header i,
.profilePage-panel-header i,
.userOrder-section-header i,
.wishlist-products-header i {
    color: #09a372;
    font-size: 16px;
    margin-right: 8px;
}

.wishlist-products-header i {
    color: #dc2626;
}

.user-panel-body,
.loginPage-panel-body,
.profilePage-panel-body,
.userOrder-section-body,
.wishlist-products-body {
    padding: 24px;
}

/* ============================================
   5. FORM STYLES
   ============================================ */
.user-form-group,
.loginPage-form-group,
.profilePage-form-group {
    margin-bottom: 16px;
}

.user-form-label,
.profilePage-form-label {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.user-form-control,
.loginPage-form-control,
.profilePage-form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.user-form-control:focus,
.loginPage-form-control:focus,
.profilePage-form-control:focus {
    border-color: #09a372;
    box-shadow: 0 0 0 3px rgba(9, 163, 114, 0.1);
    outline: none;
}

.user-textarea,
.loginPage-textarea,
.profilePage-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Form validation */
.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.invalid-feedback {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

/* Checkbox Styles */
.user-checkbox,
.loginPage-checkbox,
.profilePage-checkbox {
    position: relative;
    margin-bottom: 10px;
}

.user-checkbox input[type=checkbox],
.loginPage-checkbox input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.user-checkbox label,
.loginPage-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.user-checkbox label::before,
.loginPage-checkbox label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    transition: 0.2s;
    margin-top: 1px;
}

.user-checkbox input[type=checkbox]:checked + label::before,
.loginPage-checkbox input[type=checkbox]:checked + label::before {
    background: #09a372;
    border-color: #09a372;
}

.user-checkbox input[type=checkbox]:checked + label::after,
.loginPage-checkbox input[type=checkbox]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.checkbox-invalid label::before {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Company fields toggle */
.company-fields {
    display: none;
}

.company-fields.show {
    display: block;
}

/* ============================================
   6. BUTTON STYLES
   ============================================ */
.user-btn,
.loginPage-btn,
.profilePage-btn,
.userOrder-view-btn,
.wishlist-buy-btn,
.wishlist-browse-btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-btn:hover,
.loginPage-btn:hover,
.profilePage-btn:hover {
    text-decoration: none;
}

/* Button sizes */
.user-btn-block,
.loginPage-btn-block {
    width: 100%;
}

.user-btn-lg,
.loginPage-btn-lg {
    padding: 14px 26px;
    font-size: 15px;
    height: 55px;
}

.user-btn-xs,
.profilePage-btn-xs {
    padding: 6px 10px;
    font-size: 11px;
    min-width: 28px;
    height: 28px;
}

/* Button variants */
.user-btn-success,
.loginPage-btn-success,
.profilePage-btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.user-btn-success:hover,
.loginPage-btn-success:hover,
.profilePage-btn-success:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    color: white;
}

.user-btn-danger,
.loginPage-btn-danger,
.profilePage-btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.user-btn-danger:hover,
.loginPage-btn-danger:hover,
.profilePage-btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-1px);
    color: white;
}

.user-btn-primary,
.profilePage-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.user-btn-primary:hover,
.profilePage-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    color: white;
}

.user-btn-secondary,
.profilePage-btn-secondary {
    background: #f1f5f9;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.user-btn-secondary:hover,
.profilePage-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

.user-btn-outline,
.loginPage-btn-outline {
    background: transparent;
    border: 2px solid #09a372;
    color: #09a372;
}

.user-btn-outline:hover,
.loginPage-btn-outline:hover {
    background: #09a372;
    color: #fff;
}

/* Specific button styles */
.userOrder-view-btn {
    background: linear-gradient(135deg, #09a372, #10b981);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    min-width: 90px;
}

.userOrder-view-btn:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.wishlist-buy-btn {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-buy-btn:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: translateY(-1px);
    color: white;
}

.wishlist-browse-btn {
    background: linear-gradient(135deg, #09a372, #10b981);
    color: white;
    padding: 15px 30px;
    height: 50px;
}

.wishlist-browse-btn:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* ============================================
   ORDER VIEW PAGE STYLES
   ============================================ */
#body.userOrderView-layout {
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px;
}

/* Profile Navigation */
.userOrderView-nav {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.userOrderView-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.userOrderView-nav li {
    flex: 1;
    min-width: 100px;
}

.userOrderView-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    gap: 6px;
}

.userOrderView-nav li:last-child a {
    border-right: none;
}

.userOrderView-nav a:hover {
    background: #f8fafc;
    color: #09a372;
    text-decoration: none;
}

.userOrderView-nav a.active {
    background: linear-gradient(135deg, #09a372, #10b981);
    color: white;
}

.userOrderView-nav a.logout {
    color: #dc2626;
}

.userOrderView-nav a.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* Order Header */
.userOrderView-header {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.userOrderView-header .back-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #09a372;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #09a372;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 20px;
}

.userOrderView-header .back-btn:hover {
    background: #09a372;
    color: white;
}

.userOrderView-header .header-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.userOrderView-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.userOrderView-title i {
    color: #09a372;
    font-size: 24px;
}

.userOrderView-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.userOrderView-status-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.userOrderView-status-badge.new,
.userOrderView-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.userOrderView-status-badge.in_progress,
.userOrderView-status-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.userOrderView-status-badge.finished,
.userOrderView-status-badge.completed {
    background: #dcfce7;
    color: #166534;
}

.userOrderView-status-badge.canceled {
    background: #fee2e2;
    color: #991b1b;
}

.userOrderView-status-badge.shipped {
    background: #e0e7ff;
    color: #3730a3;
}

/* Order Content */
.userOrderView-section {
    background: white;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.userOrderView-section-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.userOrderView-section-header i {
    color: #09a372;
    font-size: 16px;
}

.userOrderView-section-body {
    padding: 20px;
}

/* Delivery Panels */
.userOrderView-delivery-panels {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.userOrderView-delivery-panel {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    flex: 1;
    min-width: 280px;
}

.userOrderView-delivery-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.userOrderView-delivery-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(135deg, #09a372, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.userOrderView-delivery-image i {
    color: white;
    font-size: 24px;
}

.userOrderView-delivery-details h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.userOrderView-delivery-details p {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

.userOrderView-address-info {
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

/* Products Table */
.userOrderView-products-table {
    width: 100%;
    border-collapse: collapse;
}

.userOrderView-products-table th {
    padding: 12px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13px;
}

.userOrderView-products-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 13px;
}

.userOrderView-products-table tbody tr:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.userOrderView-products-table tbody tr:last-child td {
    border-bottom: none;
}

/* Product Info */
.userOrderView-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.userOrderView-product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

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

.userOrderView-product-details h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.userOrderView-product-details a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.userOrderView-product-details a:hover {
    color: #09a372;
    text-decoration: none;
}

.userOrderView-product-code {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

/* Price and Quantity */
.userOrderView-price,
.userOrderView-quantity,
.userOrderView-total {
    text-align: center;
    font-weight: 600;
    color: #1f2937;
    font-size: 13px;
}

/* Summary Section */
.userOrderView-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.userOrderView-voucher {
    background: #dcfce7;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.userOrderView-voucher-code {
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    color: #059669;
    font-size: 14px;
    display: inline-block;
    margin-top: 5px;
}

.userOrderView-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.userOrderView-summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.userOrderView-summary-list li.total {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.userOrderView-summary-list li.discount {
    color: #059669;
}

/* Info Panels */
.userOrderView-info-panels {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.userOrderView-info-panel {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
}

.userOrderView-info-panel h3 {
    margin: 0 0 15px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.userOrderView-info-panel h3 i {
    color: #09a372;
}

.userOrderView-info-table {
    width: 100%;
    border-collapse: collapse;
}

.userOrderView-info-table th {
    text-align: left;
    padding: 10px 15px 10px 0;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    width: 40%;
    font-size: 13px;
}

.userOrderView-info-table td {
    padding: 10px 0;
    color: #6b7280;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    font-size: 13px;
}

.userOrderView-info-table tr:last-child th,
.userOrderView-info-table tr:last-child td {
    border-bottom: none;
}

.userOrderView-invoice-btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.userOrderView-invoice-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.userOrderView-tracking-link {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.userOrderView-tracking-link:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ============================================
   7. TABLE STYLES
   ============================================ */
.user-table,
.userOrder-table,
.profilePage-address-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table.loaded,
.userOrder-table.loaded {
    opacity: 1;
}

.user-table th,
.userOrder-table th,
.profilePage-address-table th {
    background: #f8fafc;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13px;
    text-transform: uppercase;
}

.profilePage-address-table th {
    text-align: left;
    text-transform: none;
    padding: 12px 0;
}

.user-table td,
.userOrder-table td,
.profilePage-address-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
}

.profilePage-address-table td {
    padding: 12px 6px;
    text-align: left;
}

.user-table tr,
.userOrder-table tr {
    transition: background 0.2s ease;
}

.user-table tr:hover,
.userOrder-table tr:hover {
    background: #f8fafc;
}

.profilePage-address-table tbody tr {
    transition: transform 0.2s ease;
}

.profilePage-address-table tbody tr:hover {
    transform: translateX(5px);
}

.profilePage-address-table tbody tr.success {
    border-left: 4px solid #10b981;
    padding-left: 8px;
}

.user-table tr:last-child td,
.userOrder-table tr:last-child td {
    border-bottom: none;
}

/* Table specific elements */
.userOrder-date {
    color: #6b7280;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.userOrder-date-day {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
}

.userOrder-date-time {
    color: #9ca3af;
    font-size: 11px;
}

.userOrder-number {
    font-size: 15px;
    font-weight: 700;
    color: #09a372;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.userOrder-number:hover {
    color: #047857;
}

.userOrder-price {
    color: #1f2937;
}

.userOrder-price-EUR {
    font-weight: 700;
    font-size: 15px;
    display: block;
}

.userOrder-price-eur {
    font-size: 11px;
    color: #6b7280;
}

.userOrder-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.profilePage-address-name {
    font-weight: 600;
    color: #1f2937;
}

.profilePage-address-phone {
    font-size: 11px;
    color: #6b7280;
}

.profilePage-status-badge,
.profilePage-make-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
}

.profilePage-status-badge {
    background: #10b981;
    color: white;
}

.profilePage-make-default {
    background: #f1f5f9;
    color: #6b7280;
    text-decoration: none;
}

.profilePage-make-default:hover {
    background: #10b981;
    color: white;
    text-decoration: none;
}

/* ============================================
   8. STATUS BADGES
   ============================================ */
.user-status-badge,
.userOrder-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-status-badge.new,
.userOrder-status-badge.new,
.user-status-badge.pending,
.userOrder-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.user-status-badge.in_progress,
.userOrder-status-badge.in_progress,
.user-status-badge.processing,
.userOrder-status-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.user-status-badge.finished,
.userOrder-status-badge.finished,
.user-status-badge.completed,
.userOrder-status-badge.completed {
    background: #e0e7ff;
    color: #3730a3;
}

.user-status-badge.canceled,
.userOrder-status-badge.canceled {
    background: #fee2e2;
    color: #991b1b;
}

.user-status-badge.shipped,
.userOrder-status-badge.shipped {
    background: #dcfce7;
    color: #166534;
}

.userOrder-status-icon {
    font-size: 10px;
}

/* ============================================
   9. WISHLIST SPECIFIC STYLES
   ============================================ */
/* Better card spacing for wishlist */
.wishlist-layout .modern-product-card {
    margin-bottom: 25px;
}

.wishlist-layout .modern-product-card .product-content {
    padding: 15px;
}

/* Stock status instead of category */
.wishlist-stock-status {
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0 12px;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-stock-status.in-stock {
    background: #dcfce7;
    color: #166534;
}

.wishlist-stock-status.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

/* Remove button as action button */
.wishlist-layout .add-to-cart-btn,
.wishlist-layout .call-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.wishlist-layout .add-to-cart-btn:hover,
.wishlist-layout .call-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-1px);
}

/* Mobile responsive - 2 products per row */
@media (max-width: 767px) {
    .wishlist-layout .row > [class*="col-"] {
        width: 50%;
        padding: 0 7.5px;
        margin-bottom: 15px;
    }
    
    .wishlist-layout .modern-product-card {
        margin-bottom: 15px;
    }
    
    .wishlist-layout .modern-product-card .product-content {
        padding: 12px;
    }
    
    .wishlist-layout .modern-product-card .product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .wishlist-layout .price-container {
        font-size: 12px;
    }   
    
    .wishlist-stock-status {
        font-size: 10px;
        margin: 6px 0 8px;
        padding: 2px 6px;
    }
}

/* ============================================
   10. EMPTY STATES
   ============================================ */
.user-empty,
.userOrder-empty,
.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.user-empty i,
.userOrder-empty i,
.wishlist-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #d1d5db;
}

.wishlist-empty i {
    font-size: 64px;
    margin-bottom: 30px;
}

.user-empty h3,
.userOrder-empty h3,
.wishlist-empty h3 {
    color: #374151;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.wishlist-empty h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.user-empty p,
.userOrder-empty p,
.wishlist-empty p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.wishlist-empty p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* ============================================
   11. PAGINATION
   ============================================ */
.user-pagination,
.userOrder-pagination,
.wishlist-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 15px;
}

.user-pagination a,
.user-pagination span,
.userOrder-pagination a,
.userOrder-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-pagination a:hover,
.userOrder-pagination a:hover {
    background: #f8fafc;
    color: #09a372;
    border-color: #09a372;
}

.user-pagination .active span,
.userOrder-pagination .active span {
    background: linear-gradient(135deg, #09a372, #10b981);
    color: white;
    border-color: #09a372;
}

.user-pagination .disabled span,
.userOrder-pagination .disabled span {
    color: #d1d5db;
    cursor: not-allowed;
}

.user-pagination .pagination-dots,
.userOrder-pagination .pagination-dots {
    color: #6b7280;
    font-weight: 600;
    padding: 6px 2px;
}

/* ============================================
   12. MODAL STYLES
   ============================================ */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.modal-dialog {
    max-width: 600px;
}

.modal-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 20px;
}

.modal-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 16px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 0 0 15px 15px;
}

/* ============================================
   13. SPECIAL ELEMENTS
   ============================================ */
/* Discount Alert */
.user-discount-alert,
.profilePage-discount-alert {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.user-discount-badge,
.profilePage-discount-badge {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 11px;
    margin-left: 8px;
}

/* Registration toggle */
.user-register-toggle,
.loginPage-register-toggle {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
    border: 3px dashed #10b881;
    border-radius: 12px;
    margin-bottom: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
	min-height: 333px;
    width: 100%;
}

/* Info items */
.user-info-item,
.profilePage-info-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.user-info-item:last-child,
.profilePage-info-item:last-child {
    border-bottom: none;
}

.user-info-label,
.profilePage-info-label {
    font-weight: 600;
    color: #374151;
    min-width: 90px;
    margin-right: 10px;
}

.user-info-value,
.profilePage-info-value {
    color: #6b7280;
    flex: 1;
}

/* Links */
.user-forgot-link,
.loginPage-forgot-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.user-forgot-link:hover,
.loginPage-forgot-link:hover {
    color: #09a372;
}

/* Alerts */
.user-alert,
.loginPage-alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid;
}

.user-alert-danger,
.loginPage-alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ============================================
   14. EQUAL HEIGHT ROWS
   ============================================ */
@media (min-width: 992px) {
    .user-equal-height-row,
    .profilePage-equal-height-row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -5px;
        margin-right: -5px;
    }

    .user-equal-height-row > [class*="col-"],
    .profilePage-equal-height-row > [class*="col-"] {
        display: flex;
        padding-left: 5px;
        padding-right: 5px;
    }

    .user-equal-height-row .user-panel,
    .user-equal-height-row .profilePage-panel,
    .profilePage-equal-height-row .user-panel,
    .profilePage-equal-height-row .profilePage-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .user-equal-height-row .user-panel-body,
    .user-equal-height-row .profilePage-panel-body,
    .profilePage-equal-height-row .user-panel-body,
    .profilePage-equal-height-row .profilePage-panel-body {
        flex: 1;
    }
}

/* ============================================
   15. RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .user-table th,
    .user-table td,
    .userOrder-table th,
    .userOrder-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    #body.user-layout,
    #body.login-layout,
    #body.profile-layout,
    #body.userOrder-layout,
    #body.wishlist-layout {
        padding: 20px 15px;
    }

    /* Navigation responsive */
    .user-nav ul,
    .profilePage-nav ul,
    .userOrder-nav ul {
        flex-direction: column;
    }

    .user-nav li,
    .profilePage-nav li,
    .userOrder-nav li {
        flex: none;
    }

    .user-nav a,
    .profilePage-nav a,
    .userOrder-nav a {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        justify-content: flex-start;
        padding: 12px 15px;
    }

    .user-nav li:last-child a,
    .profilePage-nav li:last-child a,
    .userOrder-nav li:last-child a {
        border-bottom: none;
    }
	
	    #body.userOrderView-layout {
        padding: 15px;
    }

    .userOrderView-nav ul {
        flex-direction: column;
    }

    .userOrderView-nav a {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        justify-content: flex-start;
        padding: 12px 20px;
    }

    .userOrderView-nav li:last-child a {
        border-bottom: none;
    }

    .userOrderView-header {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .userOrderView-header .back-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .userOrderView-header .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .userOrderView-title {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .userOrderView-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .userOrderView-section-body {
        padding: 15px;
    }

    .userOrderView-products-table th,
    .userOrderView-products-table td {
        padding: 10px;
        font-size: 12px;
    }

    .userOrderView-products-table thead {
        display: none;
    }

    .userOrderView-products-table tbody tr {
        display: block;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 10px;
    }

    .userOrderView-products-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }

    .userOrderView-products-table tbody td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #374151;
        display: inline-block;
        width: 90px;
    }

    .userOrderView-product-info,
    .userOrderView-delivery-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .userOrderView-product-image,
    .userOrderView-delivery-image {
        width: 60px;
        height: 60px;
    }

    .userOrderView-delivery-panels {
        flex-direction: column;
        gap: 15px;
    }

    .userOrderView-delivery-panel {
        min-width: auto;
    }

    .userOrderView-info-panels {
        flex-direction: column;
        gap: 15px;
    }

    .userOrderView-info-panel {
        min-width: auto;
    }

    .userOrderView-summary {
        padding: 15px;
    }

    /* Headers responsive */
    .user-header,
    .loginPage-header,
    .profilePage-header,
    .userOrder-header,
    .wishlist-header {
        padding: 15px;
    }

    .user-title,
    .loginPage-title,
    .profilePage-title,
    .userOrder-title,
    .wishlist-title {
        font-size: 22px;
    }

    /* Panels responsive */
    .user-panel-header,
    .loginPage-panel-header,
    .profilePage-panel-header,
    .userOrder-section-header,
    .wishlist-products-header {
        padding: 12px 15px;
        font-size: 13px;
    }

    .user-panel-body,
    .loginPage-panel-body,
    .profilePage-panel-body,
    .userOrder-section-body,
    .wishlist-products-body {
        padding: 15px;
    }

    /* Table responsive */
    .profilePage-address-table th,
    .profilePage-address-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    /* Modal responsive */
    .modal-dialog {
        max-width: 90%;
    }

    /* Pagination responsive */
    .user-pagination a,
    .user-pagination span,
    .userOrder-pagination a,
    .userOrder-pagination span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Equal height fix */
    .user-equal-height-row,
    .profilePage-equal-height-row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .user-equal-height-row > [class*="col-"],
    .profilePage-equal-height-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    /* Headers mobile */
    .user-title,
    .loginPage-title,
    .profilePage-title,
    .userOrder-title,
    .wishlist-title {
        font-size: 18px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
	
	    .userOrderView-product-image,
    .userOrderView-delivery-image {
        width: 50px;
        height: 50px;
    }

    /* Tables mobile - card view */
    .user-section,
    .userOrder-section {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .user-section-header,
    .userOrder-section-header {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .user-section-body,
    .userOrder-section-body {
        background: transparent !important;
        padding: 0 !important;
    }

    .user-table,
    .userOrder-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        background: transparent !important;
    }

    .user-table thead,
    .userOrder-table thead {
        display: none;
    }

    .user-table tbody,
    .userOrder-table tbody {
        display: block;
        background: transparent !important;
    }

    .user-table tr,
    .userOrder-table tr {
        display: block;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 15px;
        background: white !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        white-space: normal;
    }

    .user-table tr:hover,
    .userOrder-table tr:hover {
        background: white !important;
    }

    .user-table td,
    .userOrder-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f1f5f9;
        text-align: left !important;
        background: transparent !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }

    .user-table td:last-child,
    .userOrder-table td:last-child {
        border-bottom: none;
        justify-content: space-between;
        padding-top: 12px;
    }

    .user-table td:before,
    .userOrder-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #374151;
        font-size: 12px;
        text-transform: uppercase;
        width: 90px;
        flex-shrink: 0;
    }

    .user-table td:last-child:before,
    .userOrder-table td:last-child:before {
        content: "Действия";
    }

    .userOrder-date,
    .userOrder-number {
        align-items: flex-end;
        text-align: right;
    }

    .userOrder-actions {
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
        flex: 1;
    }

    .userOrder-view-btn {
        max-width: 120px;
        padding: 6px 12px;
        font-size: 11px;
        min-width: auto;
    }

    /* Product cards mobile */
    .wishlist-product-image {
        height: 160px;
    }
    
    .wishlist-product-info {
        padding: 15px;
    }
    
    .wishlist-product-title {
        font-size: 14px;
    }
    
    /* Empty states mobile */
    .user-empty,
    .userOrder-empty,
    .wishlist-empty {
        padding: 60px 20px;
    }
    
    .wishlist-empty h3 {
        font-size: 20px;
    }
    
    .wishlist-empty p {
        font-size: 14px;
    }

    /* Pagination mobile */
    .user-pagination a,
    .user-pagination span,
    .userOrder-pagination a,
    .userOrder-pagination span {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .user-table td:before,
    .userOrder-table td:before {
        width: 70px;
        font-size: 11px;
    }

    .userOrder-view-btn {
        max-width: 100px;
        font-size: 10px;
        padding: 5px 10px;
    }

    .user-pagination a,
    .user-pagination span,
    .userOrder-pagination a,
    .userOrder-pagination span {
        min-width: 28px;
        height: 28px;
        font-size: 10px;
    }
}

/* ============================================
   16. MODAL FORM OPTIMIZATION
   ============================================ */
/* Modal form grid layout for better space usage */
@media (min-width: 768px) {
    .modal-body .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    .modal-body .row [class*="col-"] {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
    
    /* Group related fields in rows for better layout */
    .modal-body .profilePage-form-group {
        margin-bottom: 12px;
    }
}

/* Make modal slightly wider for better field layout */
@media (min-width: 992px) {
    .modal-dialog {
        max-width: 700px;
    }
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */
.user-text-center { text-align: center; }
.user-text-left { text-align: left; }
.user-text-right { text-align: right; }
.user-mt-0 { margin-top: 0; }
.user-mb-0 { margin-bottom: 0; }
.user-mt-10 { margin-top: 10px; }
.user-mb-10 { margin-bottom: 10px; }
.user-mt-15 { margin-top: 15px; }
.user-mb-15 { margin-bottom: 15px; }
.user-mt-20 { margin-top: 20px; }
.user-mb-20 { margin-bottom: 20px; }