/* ==================== TEMEL YAPILANDIRMA ==================== */
:root {
    --primary-gradient: linear-gradient(135deg, #34a19a 0%, #34a19a 100%);
    --secondary-gradient: linear-gradient(135deg, #34a19a 0%, #34a19a 100%);
    --success-gradient: linear-gradient(135deg, #34a19a 0%, #34a19a 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 60px;
}

/* ==================== FOCUS STATES ==================== */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ==================== UTILITY CLASSES ==================== */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

.z-index-10 {
    z-index: 10;
}

.copyable {
    display: inline-block;
    padding-right: 1.5rem;
    position: relative;
    cursor: default;
}

.copy-icon {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1rem;
    color: #888;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.3s;
}

    .copy-icon:hover {
        color: #333;
    }

/* ==================== LOADER / SPINNER ==================== */
.modern-loader-popup {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 32px !important;
    width: auto !important;
    min-width: 200px !important;
}

.modern-loader-container-swal,
.modern-loader-container {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modern-spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 24px;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, #6366f1 360deg);
    animation: modernRotate 1s linear infinite;
    position: relative;
}

    .spinner-circle::before {
        content: '';
        position: absolute;
        inset: 3px;
        border-radius: 50%;
        background: white;
    }

    .spinner-circle::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.8) 0deg, rgba(99, 102, 241, 0.4) 90deg, transparent 180deg, transparent 360deg);
        animation: modernRotate 1s linear infinite;
    }

.loader-text {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.025em;
}

/* ==================== ANIMATIONS ==================== */
@keyframes modernRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blinkAnim {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0.3;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }
}

.blink {
    animation: blinkAnim 1s infinite;
}

/* ==================== CARD COMPONENTS ==================== */
.card {
    transition: var(--transition);
}

    .card.shadow-lg {
        box-shadow: var(--card-shadow);
    }

.product-card,
.col-12.card.p-3 {
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e8ef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .product-card::before,
    .col-12.card.p-3::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #0d6efd, #198754, #ffc107);
    }

    .product-card:hover,
    .col-12.card.p-3:hover {
        transform: translateY(-8px);
        box-shadow: var(--card-hover-shadow);
    }

        .product-card:hover .product-image-wrapper img {
            transform: scale(1.05);
        }

    .product-card:nth-child(1) {
        animation-delay: 0.1s;
        opacity: 0;
    }

    .product-card:nth-child(2) {
        animation-delay: 0.2s;
        opacity: 0;
    }

    .product-card:nth-child(3) {
        animation-delay: 0.3s;
        opacity: 0;
    }

    .product-card:nth-child(4) {
        animation-delay: 0.4s;
        opacity: 0;
    }

    .product-card:nth-child(5) {
        animation-delay: 0.5s;
        opacity: 0;
    }

    .product-card:nth-child(6) {
        animation-delay: 0.6s;
        opacity: 0;
    }

/* Card Overlay */
.card-overlay {
    background: #34a19a82;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

.product-card:has(.form-check-input:checked) .card-overlay {
    opacity: 1;
}

.product-card:has(.form-check-input:checked) {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

/* ==================== PRODUCT COMPONENTS ==================== */
.product-image-wrapper img,
.product-image-container img {
    transition: var(--transition);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 200px;
}

    .product-image-container img {
        border-radius: 12px;
        max-height: 200px;
        object-fit: contain !important;
        width: 100%;
        height: 100%;
    }

    .product-image-container:hover img {
        transform: scale(1.05);
    }

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

    .product-badge .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        background: rgba(13, 110, 253, 0.9) !important;
        color: white;
    }

.product-details {
    padding-left: 1rem;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.9rem;
    color: #2c3e50;
}

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

    .info-item i {
        font-size: 1.1rem;
        margin-right: 0.3rem;
        color: #0d6efd;
    }

    .info-item strong {
        margin-right: 5px;
        font-weight: 600;
    }

/* Product Gallery */
.product-gallery {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: none;
}

    .product-image.active {
        display: block;
    }

.quantity-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc2626;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.product-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
}

    .product-nav.prev {
        left: 4px;
    }

    .product-nav.next {
        right: 4px;
    }

.product-gallery:hover .product-nav {
    opacity: 1;
}

.product-indicator {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    z-index: 5;
}

.indicator-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.2s ease;
    cursor: pointer;
}

    .indicator-dot.active {
        background: white;
    }

/* ==================== BUTTONS ==================== */
.btn {
    transition: var(--transition);
    font-weight: 500;
    border-width: 2px;
}

.btn-primary {
    border: none;
    color: white;
    background-color: #35a29f !important;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}



    .btn-primary:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }


.btn-success {
    border: none;
    color: white;
    background-color: #198754 !important;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #198754 0%, #198754 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}



    .btn-success:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-success:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
.btn-warning {
    border: none;
    color: white;
    background-color: #ffca2c !important;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffca2c 0%, #ffca2c 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

    .btn-warning:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-warning:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }



.btn-danger {
    border: none;
    color: white;
    background-color: #fd3550 !important;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fd3550 0%, #fd3550 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

    .btn-danger :hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-danger :disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }


.btn-info {
    border: none;
    color: white;
    background-color: #0dcaf0 !important;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, ##0dcaf0 0%, #0dcaf0 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

    .btn-info :hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .btn-info :disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

    .btn-outline-secondary:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
        transform: translateY(-2px);
    }
/* Success Outline */
.btn-outline-success {
    border: 2px solid #198754 !important;
    color: #198754 !important;
    background-color: transparent !important;
    border-radius: 30px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.2) !important;
    transition: all 0.3s ease !important;
}

    .btn-outline-success:hover:not(:disabled) {
        background-color: #198754 !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(25, 135, 84, 0.3) !important;
    }

    .btn-outline-success:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

/* Primary Outline */
.btn-outline-primary {
    border: 2px solid #0d6efd !important;
    color: #0d6efd !important;
    background-color: transparent !important;
    border-radius: 30px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2) !important;
    transition: all 0.3s ease !important;
}

    .btn-outline-primary:hover:not(:disabled) {
        background-color: #0d6efd !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3) !important;
    }

    .btn-outline-primary:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

/* Info Outline */
.btn-outline-info {
    border: 2px solid #0dcaf0 !important;
    color: #0dcaf0 !important;
    background-color: transparent !important;
    border-radius: 30px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(13, 202, 240, 0.2) !important;
    transition: all 0.3s ease !important;
}

    .btn-outline-info:hover:not(:disabled) {
        background-color: #0dcaf0 !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(13, 202, 240, 0.3) !important;
    }

    .btn-outline-info:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

/* Danger Outline */
.btn-outline-danger {
    border: 2px solid #dc3545 !important;
    color: #dc3545 !important;
    background-color: transparent !important;
    border-radius: 30px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2) !important;
    transition: all 0.3s ease !important;
}

    .btn-outline-danger:hover:not(:disabled) {
        background-color: #dc3545 !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3) !important;
    }

    .btn-outline-danger:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }

/* Warning Outline */
.btn-outline-warning {
    border: 2px solid #ffc107 !important;
    color: #ffc107 !important;
    background-color: transparent !important;
    border-radius: 30px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2) !important;
    transition: all 0.3s ease !important;
}

    .btn-outline-warning:hover:not(:disabled) {
        background-color: #ffc107 !important;
        color: #000 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3) !important;
    }

    .btn-outline-warning:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }


.btn-warning {
    background-color: #ffc107;
    color: black;
}

.btn-info {
    background-color: #0dcaf0;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-success {
    background-color: #198754;
}

.btn-icon:hover,
.btn-action i {
    opacity: 0.9;
    font-size: 1rem;
}

.btn-continue {
    background-color: #ffc107;
    color: black;
    background: var(--success-color);
}

    .btn-continue:hover {
        background: #059669;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.btn-view {
    background: var(--info-color);
}

    .btn-view:hover {
        background: #2563eb;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

/* ==================== BADGES ==================== */
.badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    font-weight: 500;
    color: #fff;
    border-radius: 0.5rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    min-width: 80px;
}

.badge-primary {
    background-color: #0d6efd;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #198754;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-dark {
    background-color: #343a40;
}

.badge-light {
    background-color: #f8f9fa;
    color: #000;
}

/* Badge Outline Variants */
.badge-outline-primary {
    color: #007bff !important;
    background-color: transparent;
    border: 1px solid #007bff !important;
}

.badge-outline-secondary {
    color: #6c757d !important;
    background-color: transparent;
    border: 1px solid #6c757d !important;
}

.badge-outline-success {
    color: #28a745 !important;
    background-color: transparent;
    border: 1px solid #28a745 !important;
}

.badge-outline-danger {
    color: #dc3545 !important;
    background-color: transparent;
    border: 1px solid #dc3545 !important;
}

.badge-outline-warning {
    color: #ffc107 !important;
    background-color: transparent;
    border: 1px solid #ffc107 !important;
}

.badge-outline-info {
    color: #17a2b8 !important;
    background-color: transparent;
    border: 1px solid #17a2b8 !important;
}

.badge-outline-light {
    color: #f8f9fa !important;
    background-color: transparent;
    border: 1px solid #f8f9fa !important;
}

.badge-outline-dark {
    color: #343a40 !important;
    background-color: transparent;
    border: 1px solid #343a40 !important;
}

/* ==================== FORM ELEMENTS ==================== */
.form-check-input {
    width: 3rem;
    height: 1.5rem;
    border: 2px solid #dee2e6;
    transition: var(--transition);
}

    .form-check-input:checked {
        border-color: #fff;
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    }

/* ==================== PROGRESS & STEPS ==================== */
.progress-bar {
    position: relative;
    overflow: visible;
}

.progress-indicator {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.step-item.active .step-icon {
    background: var(--primary-gradient) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ==================== TABLES ==================== */
.table-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.custom-table {
    margin: 0;
    border: none;
    font-size: 0.875rem;
}

    .custom-table thead th {
        background: #f1f5f9;
        border: none;
        padding: 1rem 1.25rem;
        font-weight: 600;
        color: var(--text-primary);
        font-size: 0.8125rem;
        text-transform: uppercase;
        letter-spacing: 0.025em;
        border-bottom: 1px solid var(--border-color);
    }

    .custom-table tbody tr {
        transition: all 0.2s ease;
        border: none;
    }

    .custom-table tbody td {
        padding: 0.5rem 0.5rem;
        border: none;
        border-bottom: 3px solid #f1f5f9 !important;
        vertical-align: middle;
        text-align: center;
        border: 1px solid #f1f5f9;
    }

.table-footer {
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-top: 1px solid var(--border-color);
    align-items: center;
}

/* ==================== TABLE DATA CELLS ==================== */
.order-id {
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    background: #d9dadb;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    display: inline-block;
}

.customer-name {
    font-weight: 500;
    color: var(--text-primary);
    max-width: 150px;
    word-wrap: break-word;
    white-space: normal;
    vertical-align: middle;
}

.date-display {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.date {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.price-info {
    display: flex;
    flex-direction: column;
    font-size: 0.8125rem;
}

.price-label {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.price-value {
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 0.5rem;
}

.price-total,
.price {
    font-weight: 700;
    color: var(--success-color);
    margin-left: 0.5rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #35a29f, #045551);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== STATUS BADGES ==================== */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-shipped {
    background: #e0e7ff;
    color: #5b21b6;
    border: 1px solid #c7d2fe;
}

/* ==================== USER COMPONENTS ==================== */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    border:none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34a19a 0%, #071952 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.user-info {
/*    display: flex;
*/    flex-direction: column;
    gap: 2px;
}

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

.user-email {
    font-size: 12px;
    color: #9ca3af;
}

.user-balance {
    font-weight: 700;
    color: #10b981;
    font-size: 15px;
}

.actions {
    display: flex;
    gap: 6px;
}

.userbadge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.userbadge-verified {
    background: #d1fae5;
    color: #065f46;
}

.userbadge-pending {
    background: #fef3c7;
    color: #92400e;
}

.userbadge-admin {
    background: #dbeafe;
    color: #1e40af;
    margin-left: 6px;
}

/* ==================== SEARCH BOX ==================== */
.search-box {
    position: relative;
    max-width: 400px;
}

    .search-box input {
        border: 2px solid var(--border-color);
        border-radius: var(--radius);
        padding: 0.75rem 3rem 0.75rem 1rem;
        font-size: 0.875rem;
        transition: all 0.2s ease;
        background: var(--card-bg);
        color: var(--text-primary);
    }

        .search-box input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            outline: none;
        }

    .search-box i {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-secondary);
        font-size: 1.125rem;
    }

/* ==================== SCROLL COMPONENTS ==================== */
.scroll-card {
    position: relative;
}

.button-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .button-strip .btn {
        flex: 0 0 auto;
    }

    .button-strip::-webkit-scrollbar {
        height: 8px;
    }

    .button-strip::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.15);
        border-radius: 4px;
    }

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.08);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

    .scroll-arrow.left {
        left: 8px;
    }

    .scroll-arrow.right {
        right: 8px;
    }

.edge-fade::before,
.edge-fade::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    z-index: 4;
}

.edge-fade::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.edge-fade::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* ==================== EMPTY STATE ==================== */
.empty-row {
    background: #fefefe;
}

.empty-cell {
    padding: 60px 20px;
    text-align: center;
    border: none;
    position: relative;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.6s ease-out;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 16px;
    text-align: center;
    color: #856404;
    padding:25px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

    .empty-icon i {
        font-size: 3rem;
        opacity: 0.5;
        margin-bottom: 1rem;
    }

    .empty-icon svg {
        width: 40px;
        height: 40px;
        color: #6366f1;
    }

.empty-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.empty-message {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.empty-state-compact {
    padding: 40px 20px;
}

    .empty-state-compact .empty-icon {
        width: 60px;
        height: 60px;
    }

        .empty-state-compact .empty-icon svg {
            width: 30px;
            height: 30px;
        }

    .empty-state-compact .empty-title {
        font-size: 18px;
    }

    .empty-state-compact .empty-message {
        font-size: 14px;
    }

/* ==================== FULLSCREEN MODAL ==================== */
.make-fullscreen {
    position: relative;
    transition: all 0.3s ease;
}

.fullscreen-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transform-origin: top left;
    transition: transform 0.3s ease;
}

    .fullscreen-modal .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: #333;
    }

.make-fullscreen .fullscreen-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    cursor: pointer;
    z-index: 10;
}

/* ==================== TEXT UTILITIES ==================== */
.smart-wrap {
    white-space: normal;
    word-wrap: break-word;
}

.wrapper-200 {
    text-wrap: wrap;
    width: 200px;
}

.adaptive-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .adaptive-wrap:hover {
        white-space: normal;
        overflow: visible;
    }

.text-truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    padding: 0.3rem 0.2rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5rem;
}

    .text-truncate-multiline.expanded {
        -webkit-line-clamp: unset;
        max-height: none;
    }

.toggle-description {
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
    display: inline-block;
    user-select: none;
}

    .toggle-description:hover {
        background: rgba(13, 110, 253, 0.2);
        transform: translateY(-1px);
    }

/* ==================== BUTTON GRID ==================== */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 300px;
}

    .button-grid button {
        flex: 1 1 calc(50% - 0.25rem);
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border: none;
        background-color: #0d6efd;
        color: white;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.2s;
    }

        .button-grid button:hover {
            background-color: #0b5ed7;
        }

/* ==================== ASIN ROW ==================== */
.asin-row {
    display: block;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .asin-row input.form-control {
        flex-grow: 1;
    }

    .asin-row button {
        width: 40px;
        height: 37px;
        font-weight: bold;
        padding: 0;
        line-height: 1;
        text-align: center;
        border-radius: 50%;
        border: none;
        color: #fff;
        background-color: #dc3545;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .asin-row button:hover {
            background-color: #bb2d3b;
        }

/* ==================== ACTION SECTION ==================== */
.action-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

    .action-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #0d6efd, #198754);
    }

    .action-section h6 {
        color: #0d6efd;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .action-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #6c757d;
    }

/* ==================== INFO BOX ==================== */
.info-box {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

/* ==================== HEADINGS ==================== */
h3.fw-bold.text-dark {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.demo-section {
    margin: 40px 0;
}

.demo-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

/* ==================== HIGH Z-INDEX ==================== */
.high-z-index-swal,
.swal2-container.high-z-index-swal {
    z-index: 99999 !important;
}

/* ==================== BACKGROUND GRADIENTS ==================== */
.bg-gradient-primary {
    background: var(--primary-gradient);
}

/* ==================== DROPDOWN ==================== */
.dropdown-menu {
    min-width: 180px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (prefers-reduced-motion: reduce) {
    .button-strip {
        scroll-behavior: auto;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991.98px) {
    .product-details {
        padding-left: 0.5rem;
    }

    .product-info-grid {
        grid-template-columns: 1fr;
    }

    h3.fw-bold.text-dark {
        font-size: 1.6rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .modern-spinner {
        width: 45px;
        height: 45px;
        margin-bottom: 20px;
    }

    .loader-text {
        font-size: 14px;
    }

    .modern-loader-container {
        padding: 15px;
    }

    .table-container {
        border-radius: var(--radius);
        margin: 0.5rem;
    }

    .custom-table thead th,
    .custom-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .btn-action {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

        .btn-action span {
            display: none;
        }

    .product-gallery {
        width: 60px;
        height: 60px;
    }

    .quantity-badge {
        width: 18px;
        height: 18px;
        font-size: 0.625rem;
    }

    .price-info {
        font-size: 0.75rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }

    .empty-cell {
        padding: 40px 15px;
    }

    .empty-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        justify-content: center;
    }

    .product-details {
        padding-left: 0;
        margin-top: 1rem;
    }

    .product-info-grid {
        grid-template-columns: 1fr;
    }

    h3.fw-bold.text-dark {
        font-size: 1.5rem;
    }

    .product-image-container {
        min-height: 180px;
    }

        .product-image-container img {
            max-height: 180px;
        }

    .action-section .d-flex {
        flex-direction: column !important;
    }

    .action-section .btn {
        width: 100% !important;
        margin-bottom: 0.75rem;
    }

        .action-section .btn:last-child {
            margin-bottom: 0;
        }

    .fs-1 {
        font-size: 1.5rem !important;
    }

    .fs-2 {
        font-size: 1.3rem !important;
    }

    .fs-3 {
        font-size: 1.1rem !important;
    }

    .fs-4 {
        font-size: 1rem !important;
    }

    .fs-5 {
        font-size: 0.9rem !important;
    }

    .fs-6 {
        font-size: 0.8rem !important;
    }

    .p-5 {
        padding: 1.5rem !important;
    }

    .p-4 {
        padding: 1rem !important;
    }

    .p-3 {
        padding: 0.75rem !important;
    }

    .m-5 {
        margin: 1.5rem !important;
    }

    .m-4 {
        margin: 1rem !important;
    }

    .m-3 {
        margin: 0.75rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .mt-5 {
        margin-top: 1.5rem !important;
    }

    .mt-4 {
        margin-top: 1rem !important;
    }

    .mt-3 {
        margin-top: 0.75rem !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .custom-table {
        font-size: 0.75rem;
    }

        .custom-table thead th {
            padding: 0.5rem 0.375rem;
            font-size: 0.75rem;
        }

        .custom-table tbody td {
            padding: 0.5rem 0.375rem;
        }

    .product-card,
    .col-12.card.p-3 {
        padding: 1rem !important;
    }

    .action-section {
        padding: 1rem !important;
    }

    h3.fw-bold.text-dark {
        font-size: 1.3rem;
    }

    .product-image-container {
        min-height: 150px;
    }

        .product-image-container img {
            max-height: 150px;
        }

    .btn-primary,
    .btn-outline-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .info-item {
        font-size: 0.85rem;
    }

        .info-item strong {
            min-width: 60px;
        }

    .empty-state {
        padding: 2rem !important;
    }

    .empty-icon i {
        font-size: 2.5rem;
    }

    .toggle-description {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 479.98px) {
    .product-card,
    .col-12.card.p-3 {
        padding: 0.8rem !important;
        border-radius: 12px;
    }

    .action-section {
        padding: 0.8rem !important;
        border-radius: 12px;
    }

    h3.fw-bold.text-dark {
        font-size: 1.2rem;
    }

    .product-image-container {
        min-height: 130px;
        border-radius: 8px;
    }

        .product-image-container img {
            max-height: 130px;
            border-radius: 8px;
        }

    .btn-primary,
    .btn-outline-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 25px;
    }

    .text-truncate-multiline {
        font-size: 0.9rem;
    }

    .action-section h6 {
        font-size: 1rem;
    }

    .action-section p {
        font-size: 0.85rem;
    }

    .asin-row button {
        width: 32px;
        height: 34px;
    }
}

/* Very small devices (320px and down) */
@media (max-width: 319.98px) {
    .product-card,
    .col-12.card.p-3 {
        padding: 0.6rem !important;
    }

    .action-section {
        padding: 0.6rem !important;
    }

    h3.fw-bold.text-dark {
        font-size: 1.1rem;
    }

    .product-image-container {
        min-height: 110px;
    }

        .product-image-container img {
            max-height: 110px;
        }

    .btn-primary,
    .btn-outline-secondary {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .info-item {
        font-size: 0.8rem;
    }

        .info-item strong {
            min-width: 50px;
        }

    .asin-row button {
        width: 30px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Touch devices hover deactivation */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover,
    .col-12.card.p-3:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .product-image-container:hover img {
        transform: none;
    }

    .btn-primary:hover:not(:disabled) {
        transform: none;
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }

    .btn-outline-secondary:hover {
        transform: none;
        box-shadow: none;
    }

    .toggle-description:hover {
        transform: none;
    }
}


.dropdown-toggle::after{
    content:none;
}
body, p, h1, h2, h3, h4, h5, h6, span, div, a, button, input, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

i, .fa, .fas, .far, .fab, .fal {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome","Font Awesome 6 Free" !important;
}

body {
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.notification-dot {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px red;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 6px red;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.4;
        box-shadow: 0 0 12px red;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 6px red;
    }
}
.icon-wrapper {
    position: absolute;
    /* display: inline-block; */
    /* font-size: 32px; */
    top: -5px;
    left: -5px;
}

.rounded-circle {
    border-radius: 50% !important;
    padding: 0.8rem !important;
}