.border-warning{
	border-top: 4px solid #f49e31!important;
}
.border-info{
	border-top: 4px solid #0e29d0 !important;
}
.border-primary{
	border-top: 4px solid #037f4a!important;
}
.border-danger{
	border-top: 4px solid #d3080c!important;
}
.stats-row .card .card-body {
    padding: 15px;
}
.badge{
	color:#fff !important;
}


.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f7fa;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: none;
}

.username {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.email {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.info-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}

.info-icon i {
    font-size: 18px;
    color: #2563eb;
}

.info-content {
    flex: 1;
    min-width: 0;
    line-height: 15px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    word-wrap: break-word;
}

.info-value.not-set {
    color: #9ca3af;
    font-weight: 400;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.active {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #dc2626;
}

/* Map Link */
.map-link {
    color: #2563eb;
    text-decoration: none;
    word-break: break-all;
}

.map-link:hover {
    text-decoration: underline;
}

/* Edit Profile Button */
.edit-profile-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #2563eb;
    color: white;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.edit-profile-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Responsive Design */
@media (max-width: 640px) {
    .profile-container {
        padding: 15px;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
        font-size: 32px;
    }

    .username {
        font-size: 20px;
    }

    .info-item {
        padding: 14px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .info-icon i {
        font-size: 16px;
    }

    .info-value {
        font-size: 14px;
    }
}
/* Table Styling */

.table tbody td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

/* Avatar Circle */
.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #46ca8e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 10px;
}

/* Status Badges */
.badge {
    font-weight: 500;
    font-size: 12px;
    border-radius: 6px;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.bg-danger-subtle {
    background-color: #f8d7da !important;
}

.bg-warning-subtle {
    background-color: #fff3cd !important;
}

.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Action Buttons */
.btn-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 13px;
    border-radius: 6px;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.btn-outline-success:hover {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Empty State */
.empty-state {
    padding: 40px 20px;
}

.empty-state i {
    opacity: 0.3;
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert i {
    font-size: 18px;
}

/* Pagination */
.card-footer {
    padding: 1rem 1.5rem;
}

.pagination {
    margin-bottom: 0;
}

.page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .table-responsive {
        border-radius: 12px;
    }

    .table thead th {
        font-size: 11px;
        padding: 0.75rem 0.5rem;
    }

    .table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 13px;
    }

    .avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 12px;
    }

    .card-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .card-footer .text-muted {
        margin-bottom: 10px;
    }
}
/* Page Header */
.page-headers{
	background-color: #eaeaf7;
	padding: 11px 10px;
	border-radius: 7px;margin-bottom: 0px;
}

.page-headers h5 {
    color: #1a1a1a;
    font-size:20px;
}

.page-headers p {
    font-size: 14px;
}
/* Print Styles */
@media print {
    .btn, .pagination, .alert {
        display: none;
    }
}


/* Top Border Colors */
.border-top-success {
    border-top: 3px solid #28a745 !important;
}

.border-top-danger {
    border-top: 3px solid #dc3545 !important;
}

.border-top-info {
    border-top: 3px solid #17a2b8 !important;
}

.border-top-warning {
    border-top: 3px solid #ffc107 !important;
}

.border-top-primary {
    border-top: 3px solid #007bff !important;
}

/* ============================================
   POS Orders Management Styles - Classic Design
   ============================================ */

/* Main Container */
.pos-orders-container {
	padding-top:20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.pos-orders-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Header Section */
.pos-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #07804b 0%, #059b57 100%);
    color: #ffffff;
    border-bottom: 3px solid #059b57;
}
.pos-orders-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}

.pos-orders-title .material-icons {
    font-size: 1.75rem;
}

.pos-last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.95;
}

.pos-last-updated .material-icons {
    font-size: 1.125rem;
}

/* Tabs Navigation */
.pos-tabs-wrapper {
    padding: 0.5rem 0.5rem 0;
    background: #ffffff;
    border-bottom: 2px solid #e9ecef;
}

.pos-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pos-tab-item {
    flex: 1;
    min-width: 150px;
}

.pos-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6 !important;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pos-tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: height 0.3s ease;
}

.pos-tab-btn:hover {
    border-color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.pos-tab-btn.active {
    background: linear-gradient(135deg, #2f29f0 0%, #3f35ff 100%);
    border-color: #667eea;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.pos-tab-label {
    position: relative;
    z-index: 1;
}

.pos-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.5rem;
    border-radius: 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.pos-tab-badge.has-orders {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.pos-tab-btn.active .pos-tab-badge.has-orders {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.pos-tab-badge.no-orders {
    background: #e9ecef;
    color: #6c757d;
}

.pos-tab-btn.active .pos-tab-badge.no-orders {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Tab Content */
.pos-tab-content {
    padding: 2rem;
}

.pos-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.pos-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.pos-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.pos-empty-icon {
    margin-bottom: 1.5rem;
}

.pos-empty-icon .material-icons {
    font-size: 5rem;
    color: #dee2e6;
}

.pos-empty-state h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.pos-empty-state p {
    font-size: 0.9375rem;
    margin: 0;
}

/* Orders Card */
.pos-orders-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}
.pos-action-btn{
	padding:10px !important;
}
/* Table Wrapper */
.pos-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Orders Table */
.pos-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}

.pos-table-head {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.pos-table-head th {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #495057;
    text-align: left;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.pos-tab-btn.active span{
	color:#fff;
}
.pos-table-body tr {
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.2s ease;
}

.pos-table-body tr:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.pos-table-body td {
    padding: 1.1rem 1.2rem !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0px !important;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}
/* ============================================
   POS ORDER EDIT PAGE STYLES
   ============================================ */

.pos-edit-container {
    padding: 1.5rem;
    background: #f5f7fa;
    min-height: 100vh;
}

.pos-edit-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.pos-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background: linear-gradient(135deg, #2f29f0 0%, #2f29f0 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.pos-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pos-back-btn {
	padding:3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pos-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
    color: #ffffff;
}

.pos-header-info .pos-page-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.pos-header-info .pos-page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.pos-order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Card Styles */
.pos-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pos-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pos-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.pos-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
}

.pos-card-title .material-icons {
    color: #667eea;
    font-size: 1.5rem;
}

.pos-items-count {
    padding: 0.375rem 0.875rem;
    background: #037f4a;
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pos-card-body {
    padding: 1.5rem;
}

/* Items Table */
.pos-items-table {
    width: 100%;
    margin-bottom: 0;
}

.pos-items-table thead th {
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.875rem 1rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.pos-items-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
}

.pos-items-table tbody tr:hover {
    background: #f8f9fa;
}

.pos-item-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.item-icon {
    font-size: 1.5rem;
}

.pos-unit {
    padding: 0.25rem 0.75rem;
    background: #e7f3ff;
    color: #0066cc;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.pos-price-value,
.pos-tax-value {
    color: #6c757d;
    font-size: 0.9375rem;
}

.pos-net-price {
    color: #28a745;
    font-size: 1rem;
    font-weight: 600;
}

.pos-attribute-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Status Select */
.pos-status-form {
    margin: 0;
}

.pos-status-select {
    padding: 0.5rem 0.875rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pos-status-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.pos-status-select.status-1 {
    background: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

.pos-status-select.status-2 {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

.pos-status-select.status-3 {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.pos-status-select.status-4 {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

/* Order Status Card */
.pos-status-selector {
    margin-bottom: 1.5rem;
}

.pos-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pos-label .material-icons {
    color: #667eea;
    font-size: 1.25rem;
}

.pos-order-status-select {
    padding: 0.875rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pos-order-status-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
}

/* Action Buttons */
.pos-actions {
    display: flex;
    gap: 1rem;
}

.pos-btn-update,
.pos-btn-cancel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pos-btn-update {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.pos-btn-update:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.pos-btn-cancel {
    background: #6c757d;
    border: none;
}

.pos-btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Customer Info */
.pos-customer-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pos-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pos-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.pos-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #037f4a;
    border-radius: 8px;
    color: #ffffff;
}

.pos-info-content {
    flex: 1;
}

.pos-info-label {
    display: block;
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.pos-info-value {
    display: block;
    font-size: 1rem;
    color: #495057;
}

.pos-contact-link {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pos-contact-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Order Summary */
.pos-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
}

.pos-summary-label {
    color: #6c757d;
    font-size: 0.9375rem;
}

.pos-summary-value {
    color: #495057;
    font-size: 1rem;
}

.pos-summary-divider {
    height: 2px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

.pos-summary-total {
    padding: 1rem 0 0;
}

.pos-summary-total .pos-summary-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
}

.pos-summary-total .pos-summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

/* Responsive */
@media (max-width: 991px) {
    .pos-edit-header {
        flex-direction: column;
        gap: 1rem;
    }

    .pos-actions {
        flex-direction: column;
    }

    .pos-btn-update,
    .pos-btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pos-edit-container {
        padding: 1rem;
    }

    .pos-card-body {
        padding: 1rem;
    }

    .pos-items-table {
        font-size: 0.875rem;
    }

    .pos-items-table thead th,
    .pos-items-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}
/* Stats Cards - Top Border Only */
.stats-card {
    position: relative;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: visible;
}

/* Top Colored Border */
.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 8px 8px 0 0;
}

/* Border Colors */
.stats-sales::before {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.stats-completed::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.stats-pending::before {
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
}

.stats-items::before {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

/* Keep existing hover effect */
.stats-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}


/* ============================================
   POS OFFERS PAGE STYLES
   ============================================ */

.pos-offers-container {
    padding: 1.5rem;
    background: #f5f7fa;
    min-height: 100vh;
}

.pos-offers-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.pos-offers-header {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #037f4a;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.pos-header-left {
    flex: 1;
}

.pos-page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.pos-page-title .material-icons {
    font-size: 2rem;
}

/* Breadcrumb */
.pos-breadcrumb {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0;
}

.pos-breadcrumb .breadcrumb-item {
    font-size: 0.875rem;
}

.pos-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pos-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.pos-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}

.pos-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Add Button */
.pos-add-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pos-add-btn:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.pos-add-btn .material-icons {
    font-size: 1.25rem;
}

/* Alert */
.pos-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pos-alert .material-icons {
    font-size: 1.5rem;
}

/* Card */
.pos-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.pos-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.pos-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
}

.pos-card-title .material-icons {
    color: #667eea;
    font-size: 1.5rem;
}

.pos-offers-count {
    padding: 0.375rem 0.875rem;
    background: #667eea;
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pos-card-body {
    padding: 0;
}

/* Table */
.pos-offers-table {
    width: 100%;
    margin-bottom: 0;
}

.pos-offers-table thead th {
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.pos-offers-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
}

.pos-offers-table tbody tr:hover {
    background: #f8f9fa;
}

.pos-offers-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Content Styles */
.pos-td-number {
    font-weight: 600;
    color: #6c757d;
}

.pos-item-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pos-item-info .material-icons {
    color: #667eea;
    font-size: 1.25rem;
}

.pos-amount {
    font-weight: 600;
    color: #28a745;
    font-size: 1rem;
}

.pos-percentage {
    padding: 0.25rem 0.75rem;
    background: #fff3cd;
    color: #856404;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pos-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.pos-date .material-icons {
    font-size: 1rem;
}

/* Status Badges */
.pos-badge-active,
.pos-badge-inactive {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pos-badge-active {
    background: #20ba45;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.pos-badge-active .material-icons {
    font-size: 1rem;
}

.pos-badge-inactive {
    background: #ff4254;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pos-badge-inactive .material-icons {
    font-size: 1rem;
    margin-top: 1px;
}

/* Added By */
.pos-added-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.pos-added-by .material-icons {
    font-size: 1.125rem;
}

/* Actions */
.pos-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pos-btn-edit,
.pos-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pos-btn-edit .material-icons,
.pos-btn-delete .material-icons {
    font-size: 1.125rem;
    padding-top: 6px;
}

.pos-btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.pos-btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Empty State */
.pos-empty-state {
    padding: 3rem 2rem;
    text-align: center;
}

.pos-empty-state .material-icons {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.pos-empty-state p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pos-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .pos-offers-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pos-header-right {
        width: 100%;
    }

    .pos-add-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .pos-offers-container {
        padding: 1rem;
    }

    .pos-offers-header {
        padding: 1.25rem;
    }

    .pos-page-title {
        font-size: 1.5rem;
    }

    .pos-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .pos-offers-table {
        font-size: 0.875rem;
    }

    .pos-offers-table thead th,
    .pos-offers-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .pos-actions {
        flex-direction: column;
    }
}

/* ============================================
   POS ORDER OFFERS PAGE STYLES
   ============================================ */

.pos-discounts-container {
    padding: 1.5rem;
    background: #f5f7fa;
    min-height: 100vh;
}

.pos-discounts-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.pos-discounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background: linear-gradient(90deg, #2f29f0 0%, #3f35ff 48%, #1913ef 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(47, 41, 240, 0.25);
    flex-wrap: wrap;
    gap: 1rem;
}

.pos-header-left {
    flex: 1;
}

.pos-page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 1.3rem !important;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.pos-page-title .material-icons {
    font-size: 2rem;
}

/* Breadcrumb */
.pos-breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0;
    backdrop-filter: blur(10px);
}

.pos-breadcrumb .breadcrumb-item {
    font-size: 0.875rem;
}

.pos-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pos-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.pos-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}

.pos-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Add Button */
.pos-add-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #2f29f0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pos-add-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2f29f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.pos-add-btn .material-icons {
    font-size: 1.25rem;
}

/* Alert */
.pos-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pos-alert .material-icons {
    font-size: 1.5rem;
}

/* Card */
.pos-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.pos-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 3px solid #2f29f0;
}

.pos-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
}

.pos-card-title .material-icons {
    color: #2f29f0;
    font-size: 1.5rem;
}

.pos-discounts-count {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(90deg, #2f29f0 0%, #3f35ff 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(47, 41, 240, 0.2);
}

.pos-card-body {
    padding: 0;
}

/* Table */
.pos-discounts-table {
    width: 100%;
    margin-bottom: 0;
}

.pos-discounts-table thead th {
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.pos-discounts-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
}

.pos-discounts-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(47, 41, 240, 0.02) 0%, rgba(63, 53, 255, 0.02) 100%);
}

.pos-discounts-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Content Styles */
.pos-td-number {
    font-weight: 600;
    color: #6c757d;
}

.pos-title-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pos-title-info .material-icons {
    color: #2f29f0;
    font-size: 1.25rem;
}

.pos-amount {
    font-weight: 600;
    color: #037f4a;
    font-size: 1rem;
}

.pos-percentage {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #856404;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pos-min-order {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.pos-min-order .material-icons {
    font-size: 1rem;
    color: #2f29f0;
}

.pos-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.pos-date .material-icons {
    font-size: 1rem;
    color: #2f29f0;
}

/* Status Badges */
.pos-badge-active,
.pos-badge-inactive {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pos-badge-active {
    color: #ffffff;
}

.pos-badge-active .material-icons {
    font-size: 1rem;
}

.pos-badge-inactive {
    color: #721c24;
}

.pos-badge-inactive .material-icons {
    font-size: 1rem;
}

/* Actions */
.pos-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pos-btn-edit,
.pos-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pos-btn-edit .material-icons,
.pos-btn-delete .material-icons {
    font-size: 1.125rem;
}

.pos-btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.pos-btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Empty State */
.pos-empty-state {
    padding: 3rem 2rem;
    text-align: center;
}

.pos-empty-state .material-icons {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.pos-empty-state p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pos-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #2f29f0 0%, #3f35ff 100%);
    border: none;
    color: #ffffff;
}

.pos-empty-state .btn:hover {
    background: linear-gradient(90deg, #1913ef 0%, #2f29f0 100%);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .pos-discounts-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pos-header-right {
        width: 100%;
    }

    .pos-add-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .pos-discounts-container {
        padding: 1rem;
    }

    .pos-discounts-header {
        padding: 1.25rem;
    }

    .pos-page-title {
        font-size: 1.5rem;
    }

    .pos-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .pos-discounts-table {
        font-size: 0.875rem;
    }

    .pos-discounts-table thead th,
    .pos-discounts-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .pos-actions {
        flex-direction: column;
    }
}
/* ============================================
   SIMPLE STATS CARDS - MATCHING IMAGE
   ============================================ */

.pos-stat-card-simple {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.2rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pos-stat-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.pos-stat-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1;
    color: #333;
}

.stat-text {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Blue Card */
.stat-blue::before {
    background: #007bff;
}

.stat-blue .stat-number {
    color: #007bff;
}

/* Cyan Card */
.stat-cyan::before {
    background: #17a2b8;
}

.stat-cyan .stat-number {
    color: #17a2b8;
}

/* Red Card */
.stat-red::before {
    background: #dc3545;
}

.stat-red .stat-number {
    color: #dc3545;
}

/* Yellow Card */
.stat-yellow::before {
    background: #ffc107;
}

.stat-yellow .stat-number {
    color: #ffc107;
}

/* Responsive */
@media (max-width: 767px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .pos-stat-card-simple {
        padding: 1.5rem 1rem;
    }
}
