/* ---------------------------------------------------------
   GLOBAL STYLES
--------------------------------------------------------- */
body {
    background: #f0f2f5;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
}

/* ---------- Background Animation ---------- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6f91, #845ec2, #2c73d2, #0081cf, #00c9a7);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- Login Card ---------- */
.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatEffect 3s ease-in-out infinite;
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ---------- Input Styling ---------- */
.input-style {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px;
    transition: 0.3s ease;
}

.input-style::placeholder {
    color: #ddd;
}

.input-style:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    color: white;
}

/* ---------- Button ---------- */
.login-btn {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    border: none;
    padding: 12px;
    border-radius: 50px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0px 4px 20px rgba(255, 255, 255, 0.4);
}

/* ---------- Links ---------- */
a {
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.header-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;

    /* compact height */
    height: 55px;
    display: flex;
    align-items: center;
}
#productTable thead th {
    text-align: center !important;
}


* {
    box-sizing: border-box;
}
.card-body {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
}

.product-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.card-row {
    display: flex;
    align-items: stretch;   /* important */
    gap: 15px;
}


.card-img {
    width: 30%;
    min-width: 90px;
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;       /* center vertically */
}



.card-img img {
    width: 100%;
   height: auto;        /* important */
    max-height: 90px;  
    object-fit: cover;
    border-radius: 10px;
}

.card-details {
    width: 70%;
}

.label {
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
}

.price-row {
    display: flex;
    gap: 8px;
}

.price-pill {
    width: 33%;
}

.price-pill .label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 3px;
}

.pill-value {
    background: #e7f3eb;  /* light green background */
    border: 1px solid #c9e6d0;
    border-radius: 12px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: bold;
    color: #065f46; /* green text */
}


/* ---------------------------------------------------------
   GENERAL LAYOUT IMPROVEMENTS
--------------------------------------------------------- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Consistent Spacing */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 2.5rem !important;
}

/* Button Enhancements */
.btn {
    border-radius: 10px;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Header Styling */
header h2 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Smooth Transitions */
a, button, input, select, textarea {
    transition: all 0.2s ease;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 1rem !important;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 1001;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .stat-card h2 {
        font-size: 1.5rem;
    }

    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

select{
     -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 18px 18px;
            padding-right: 34px;
}

/* Ensure select arrow color matches icons and reduce default border-radius impact */
.form-select:focus {
    box-shadow: none;
}

/* ---------------------------------------------------------
   SIDEBAR BASE STYLES
--------------------------------------------------------- */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.3s ease;
    background: white;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.sidebar-logo {
    width: 150px;       /* Adjust as needed */
    height: auto;
    object-fit: contain;
}


.logo-img {
    width: 22px; 
    height: 22px;
    object-fit: contain;
}


.brand-icon:hover {
    transform: scale(1.05);
}

.logo-box {
    transition: all 0.3s ease;
}

.logo-text {
    transition: opacity 0.3s ease;
    color: #1e293b;
    font-size: 1.25rem;
}

.user-section {
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.user-text {
    transition: opacity 0.3s ease;
}

.user-text p {
    font-size: 0.875rem;
    color: #1e293b;
}

.user-text small {
    font-size: 0.75rem;
}

/* Sidebar Menu Links */
/* Sidebar Menu */
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 3px 7px;
    font-size: 17px;
    letter-spacing: 0.5px;
    color: #1e293b;
    border-radius: 8px;
    transition: 0.2s ease;
    text-decoration: none;
}
.custom-select-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 011 0L8 10.293l5.646-5.647a.5.5 0 11.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;

    padding-right: 2.5rem;
}


/* Icon Styling */
.sidebar-menu a i {
    font-size: 20px;
    color:#1e293b;
}

/* Hover */
.sidebar-menu a:hover {
     background: #dde9ff;
    color: #1d4ed8;
}

.sidebar-menu a:hover i {
    color: #111827;
}



/* ---------------------------------------------------------
   COLLAPSED SIDEBAR (DESKTOP)
--------------------------------------------------------- */
.sidebar-collapsed #sidebar {
    width: 75px !important;
}

/* Hide text elements in collapsed mode */
.sidebar-collapsed .item-text,
.sidebar-collapsed .logo-text,
.sidebar-collapsed .user-text,
.sidebar-collapsed .sidebar-menu a span,
.sidebar-collapsed .user-section > div > div:not(:first-child) {
    display: none !important;
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Toggle icon rotation visual */
.toggle-btn.rotate i {
    transform: rotate(90deg);
    transition: transform 0.25s ease;
}

/* Mobile slide-in state handled via .show on .sidebar */
.sidebar {
    transition: transform 0.3s ease, width 0.3s ease;
}
.sidebar.show {
    transform: translateX(0);
}

/* Center icons in collapsed mode */
.sidebar-collapsed .sidebar-menu a {
    justify-content: center;
    padding: 12px 0;
}

/* Adjust logo section in collapsed mode */
.sidebar-collapsed .logo-box {
    justify-content: center;
    margin: 0 auto;
    margin-left: 15px;
}

.sidebar-collapsed .brand-icon {
    margin: 0 auto;
}

/* User section in collapsed mode */
.sidebar-collapsed .user-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.sidebar-collapsed .user-section > div {
    justify-content: center;
}

.sidebar-collapsed .user-section img {
    margin: 0 auto;
}

/* Toggle button in collapsed mode */
.sidebar-collapsed .toggle-btn {
    margin: 0 auto;
}

/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */
.main {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
    width: calc(100% - 250px);
    min-height: 100vh;
    background: #f5f7fa;
    padding: 24px !important;
}

.sidebar-collapsed .main {
    margin-left: 75px;
    width: calc(100% - 75px);
}



/* ---------------------------------------------------------
   TOP BAR / ICON BUTTONS
--------------------------------------------------------- */
.icon-btn {
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.notif-dot {
    width: 8px;
    height: 8px;
    background: red;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 50%;
}

/* Search Box */
.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #aaa;
}
.card-body{
    background-color: #f1f3f5 !important;
}
/* ---------------------------------------------------------
   DASHBOARD CARDS
--------------------------------------------------------- */
.stat-card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 140px;
    padding: 20px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Linear Gradient Backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
}

.gradient-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    color: white;
}

.gradient-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    color: white;
}

.gradient-red {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    color: white;
}

/* Stat Card Content Structure */
.stat-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-card-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.stat-card-icon i {
    font-size: 24px;
    color: white;
}

.blue-icon {
    background: rgba(255, 255, 255, 0.2);
}

.green-icon {
    background: rgba(255, 255, 255, 0.2);
}

.yellow-icon {
    background: rgba(255, 255, 255, 0.2);
}

.red-icon {
    background: rgba(255, 255, 255, 0.2);
}

.stat-card-value {
    color: white;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-top: auto;
}

.info-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.info-box:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.info-box i {
    font-size: 28px;
    color: #6366f1;
}

.info-box h4 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.info-box p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

.chart-placeholder {
    height: 300px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* ---------------------------------------------------------
   TOGGLE BUTTON ANIMATION
--------------------------------------------------------- */
#sidebarToggle {
    transition: transform 0.2s ease;
}

#sidebarToggle.rotate {
    transform: rotate(180deg);
}

.toggle-btn {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #6366f1;
    transform: scale(1.05);
}

.toggle-btn i {
    font-size: 1.5rem;
}

/* ---------------------------------------------------------
   PRODUCT FORM STYLES
--------------------------------------------------------- */
.image-box {
    width: 100%;
    height: 400px;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #64748b;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-box:hover {
    background: #f1f5f9;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.image-box span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.image-box i {
    font-size: 2rem;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.size-box {
    border: 2px solid #e2e8f0;
    padding: 16px 35px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    font-weight: 600;
    color: #475569;
    font-size: 15px;
    -webkit-user-select: none;
    user-select: none;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-box:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.size-box.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #6366f1;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.size-box.plus {
    font-size: 28px;
    font-weight: 300;
    color: #6366f1;
    border-style: dashed;
}

.size-box.plus:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #6366f1;
}

/* Form Input Enhancements */
.form-control,
.form-select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
    color: #1e293b !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #1e293b ;
    font-size: 14px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Product Form Card */
.product-form-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-form-card h4,
.product-form-card h5 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

/* Form Section Cards */
.form-section-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
}

.form-section-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-section-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
    padding-bottom: 12px;
   
    margin-bottom: 0 !important;
}

/* Size Input Rows */
.size-input-row {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.size-input-row:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1;
}

.selected-sizes-container {
    min-height: 40px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Size Dropdown Styling */
#sizeSelect {
    min-height: 90px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
}
.size-block {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.remove-size-btn {
    border: none;
    background: transparent;
    color: #dc3545;
    font-size: 20px;
    cursor: pointer;
}
.remove-size-btn:hover {
    color: #b02a37;
}

#sizeSelect option {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 2px 0;
}

#sizeSelect option:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#sizeSelect:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.selected-sizes-container .badge {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
}

/* ---------------------------------------------------------
   PRODUCT LIST STYLES
--------------------------------------------------------- */
.product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.2s ease;
}

.product-img:hover {
    border-color: #6366f1;
    transform: scale(1.05);
}

.size-pill {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4f46e5;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 4px;
    display: inline-block;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: all 0.2s ease;
}

.size-pill:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* DataTables Custom Styling */
.dataTables_wrapper {
    padding: 0;
}

.dataTables_filter {
    float: right !important;
    margin-bottom: 1.5rem;
}

.dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #475569;
}

.dataTables_filter input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    width: 250px;
}

.dataTables_filter input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.dataTables_length {
    float: left !important;
    margin-bottom: 1.5rem;
}

.dataTables_length label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #475569;
}

.dataTables_length select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    margin: 0 0.5rem;
}

.dataTables_length select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.dataTables_wrapper .dataTables_paginate {
    float: right !important;
    margin-top: 1.5rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5rem 0.875rem !important;
    margin: 0 2px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: white !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eef2ff !important;
    border-color: #6366f1 !important;
    color: #6366f1 !important;
    transform: translateY(-2px);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #6366f1 !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 1.5rem;
    color: #64748b;
    font-size: 0.9375rem;
}

/* ===============================
   MODERN TABLE STYLE
================================ */
/* PAGE */




.card-header {
    background: #ffffff;
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
}

.card-footer {
    background: #ffffff;
    padding: 16px 20px;
    border-top: 1px solid #eef2f7;
}

/* ADDRESS */
.address-box {
    background: #f9fbff;
    border: 1px dashed #dbe5f1;
    border-radius: 10px;
    padding: 14px;
    font-size: 0.9rem;
}


.invoice-table {
    border-collapse: separate;
    border-spacing: 0;
}

.invoice-table thead th {
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
    background: #f8f9fb;
}

.invoice-table td {
    border-top: 1px solid #eef0f2;
    vertical-align: middle;
}

.invoice-table input,
.invoice-table select {
    background: #f9fafb;
    border-radius: 6px;
}

.invoice-table input:focus,
.invoice-table select:focus {
    box-shadow: none;
    border-color: #0d6efd;
}


/* TABLE */
.app-table thead th {
    background: #f9fbff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    border-bottom: 1px solid #e6edf5;
}

.app-table tbody td {
    padding: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f7;
}

.app-table tbody tr:hover {
    background: #f8fbff;
}

/* BUTTONS */
.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-outline-primary {
    border-color: #2563eb;
    color: #2563eb;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: #fff;
}

/* ===============================
   SUBMIT BUTTON
================================ */

.submit-btn {
    font-size: 15px;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 500;
}



table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting_asc_disabled, table.dataTable thead>tr>th.sorting_desc_disabled, table.dataTable thead>tr>td.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting_asc_disabled, table.dataTable thead>tr>td.sorting_desc_disabled {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
    text-align: center;
}


.add-box-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;              /* BOXED + SOFT */
    border: 1.5px solid #6366f1;      /* Theme border */
    background: #fff;
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.25s ease;
}

.add-box-btn:hover {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 6px 16px rgba(99,102,241,0.35);
    transform: translateY(-1px);
}

.add-box-btn:active {
    transform: scale(0.95);
}

.add-box-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.3);
}



 /* Small & neat action buttons */
        .action-btn {
            padding: 4px 6px;
            line-height: 1;
        }

        .action-btn i {
            font-size: 14px;
        }

        table.dataTable td {
            vertical-align: middle;
        }



/* for adding new address */
.radio-card-wrapper {
  flex: 1 1 45%;
  cursor: pointer;
}

.radio-card {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.radio-card-wrapper:hover .radio-card {
  transform: translateY(-3px);
  border-color: #0056b3;
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.1);
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ccc;
  transition: all 0.3s ease;
  background-color: #fff;
}

.radio-card-wrapper input[type="radio"]:checked + .radio-card .radio-dot {
  background-color: #0056b3;
  border-color:#0056b3;
  box-shadow: 0 0 0 6px rgba(108, 99, 255, 0.15);
}

.radio-card-wrapper input[type="radio"]:checked + .radio-card {
  border-color: #0056b3;
  background-color: #eef1ff;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
}


/* ===== Animated SVG Checkbox ===== */

.checkbox-wrapper {
  display: inline-flex;
  align-items: center;
}

.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

/* Label wrapper */
.checkbox-wrapper .terms-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* SVG size */
.checkbox-wrapper .checkbox-svg {
  width: 30px;
  height: 30px;
}

/* Checkbox box animation */
.checkbox-wrapper .checkbox-box {
  fill: rgba(207, 205, 205, 0.425);
  stroke: #8c00ff;
  stroke-width: 3;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 0.6s ease-in;
}

/* Tick animation */
.checkbox-wrapper .checkbox-tick {
  fill: none;
  stroke: #8c00ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 172;
  stroke-dashoffset: 172;
  transition: stroke-dashoffset 0.6s ease-in;
}

/* Checked state */
.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-box,
.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-tick {
  stroke-dashoffset: 0;
}
