* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary: #1733ff;
    --primary-light: #4a5eff;
    --primary-lighter: #7b8cff;
    --primary-lightest: #e8ebff;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --pink: #ec4899;
    --indigo: #6366f1;
    --dark: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    /* padding: 20px; */
    position: relative;
}

/* Header CSS */
.header-main {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 24px;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.brand-logo {

    width: 120px;
    display: flex;
    align-items: center;

}

.nav-tabs-custom {
    border-bottom: none;
    margin-bottom: 0;
}

.nav-tabs-custom .nav-link {
    color: #6c757d;
    border: none;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-tabs-custom .nav-link:hover {
    background-color: #f8f9fa;
    color: #333;
}

.nav-tabs-custom .nav-link.active {
    background-color: #1733ff;
    color: white;
}

.btn-quote-request {
    background-color: #1733ff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-quote-request:hover {
    background-color: #0056b3;
    color: white;
}

.notification-bell {
    position: relative;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
}

.notification-bell:hover {
    color: #333;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .nav-tabs-custom {
        flex-wrap: wrap;
    }

    .nav-tabs-custom .nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.custom_panel {
    /* max-width: 1400px; */
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.custom_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: #093b6d;
    margin-top: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-btn {
    background-color: #1733ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.quote-btn:hover {
    background-color: #4a4ecd;
}

.search-box {
    position: relative;
}

.search-box input {
     width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.03), rgba(23, 51, 255, 0.01));
    border-radius: 14px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.sort-btn {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    transition: background-color 0.3s;
}

.sort-btn:hover {
    background-color: #f5f5f5;
}


/* Table Section */
.table-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

thead {
  background: linear-gradient(135deg, #f5f7fa, #e8ecf3);
 
}

thead th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #e0e0e0;
  position: relative;
}

thead th:first-child {
  border-radius: 15px 0 0 0;
}

thead th:last-child {
  border-radius: 0 15px 0 0;
}

tbody tr {
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
/* 
tbody tr::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(135deg, #1733ff, #667eea);
  transition: height 0.3s ease;
  border-radius: 0 4px 4px 0;
} */

tbody tr:hover::before {
  height: 100%;
}

tbody tr:hover {
  background: linear-gradient(90deg, rgba(23, 51, 255, 0.05), transparent);
}

tbody td {
  padding: 20px;
  font-size: 0.95rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  background: var(--white);
}

tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:last-child td:first-child {
    border-radius: 0 0 0 15px;
}
tbody tr:last-child td:last-child {
    border-radius: 0 0 15px 0;
}
/* tbody td:first-child {
  font-weight: 600;
  color: #1733ff;
} */

/* table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #fafafa;
}

th {
    text-align: left;
    padding: 16px;
    font-weight: 500;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

tbody tr:hover {
    background-color: #fafafa;
}

tbody tr:last-child td {
    border-bottom: none;
} */


.amount {
    display: flex;
    align-items: center;
    gap: 6px;
}

.amount i {
    color: #5b5fde;
    font-size: 16px;
}


.status-submitted {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-review {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 12px 8px;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    margin-top: 0;
}

.subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.modal-overlay input[type="text"],
.modal-overlay input[type="number"],
.modal-overlay input[type="date"],
.modal-overlay textarea {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
    background: #ffffff;
}

.modal-overlay input[type="text"]:focus,
.modal-overlay input[type="number"]:focus,
.modal-overlay input[type="date"]:focus,
.modal-overlay textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.file-upload {
    position: relative;
}

.file-upload-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-button:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.file-upload-button::before {
    content: "📎";
    font-size: 16px;
}

.file-help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

input[type="file"] {
    display: none;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-width: 100px;
}


.btn-primary {
  background: linear-gradient(135deg, #1733ff, #667eea);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(23, 51, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(23, 51, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: #1733ff;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Open modal button for demo */
.open-modal-btn {
    padding: 12px 24px;
    background: white;
    color: #003d7a;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.open-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hide modal by default */
.modal-overlay.hidden {
    display: none;
}

footer {
    display: none;
}



.action_div {
    display: flex;
    /* align-items: center; */
    column-gap: 8px;
}


span.ex_mark {
    color: red;
}



/* Loader start*/
.loader {
    /* display: flex;
    background: linear-gradient(135deg, #8a9bba, #1733ff9c);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    /* z-index: 99; */
    /* justify-content: center;
    backdrop-filter: blur(4px); */
    /* display: flex; */
    background: linear-gradient(135deg, #eeeff2, #7f81929c);
    position: fixed;
    top: 0;
    bottom: 0;
    /* margin: auto; */
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    width: 100%;
    height: -webkit-fill-available;
    flex-direction: column;
    z-index: 99999999999999999999999999999999999;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.loader-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    60%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    30% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Glass morphism effect */
.glass {
    position: absolute;
    inset: 20%;
    background: rgba(255, 255, 255, 0.05);

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loader End */


/* Dashboard Start */

/* Animated Background Elements */
.bg-decoration {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.05), rgba(23, 51, 255, 0.02));
    animation: float 20s infinite ease-in-out;
}

.floating-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.floating-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
        opacity: 0.5;
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
        opacity: 0.3;
    }
}

/* .dashboard-wrapper {
            max-width: 1800px;
            margin: 0 auto;
            padding: 20px;
        } */

/* Creative Header Section */
.header-section {       
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(23, 51, 255, 0.05);
    position: relative;
    overflow: hidden;
    background: #020024;
    background: linear-gradient(90deg, rgb(44 53 119) 0%, rgb(54 44 93) 35%, rgb(47 81 170) 100%);
}

.header-section::before {
        content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2f3370, #1733ff, #ffffff, #b4bdff);
    background-size: 300% 100%;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
       font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #c4bcd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.header-left p {
        color: #c1c4c8;
    font-size: 14px;
}

.header-stats {
    display: flex;
    gap: 40px;
}

.header-stat {
    text-align: center;
}

.header-stat-value {
       font-size: 28px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-stat-label {
      font-size: 11px;
    color: #c1c9d8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Unique Metrics Layout */
.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: radial-gradient(circle, rgb(255 255 255 / 99%) 0%, #dcefff4f 70%);
    border-radius: 24px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(23, 51, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1733ff00 0%, rgb(136 198 161 / 16%) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(23, 51, 255, 0.1);
    border-color: var(--primary);
}

.metric-card:hover::after {
    opacity: 1;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.metric-info {
    flex: 1;
}

.metric-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.metric-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 51, 255, 0.1);
    animation: pulse 2s infinite;
}

.metric-value {
    font-size: 38px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 12px;
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.1), rgba(23, 51, 255, 0.05));
    position: relative;
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.metric-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(23, 51, 255, 0.1);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
}

.metric-footer i {
    color: var(--primary);
    font-size: 12px;
}

/* Main Layout Grid */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Chart Card with Creative Design */
.chart-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.chart-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.chart-period {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.05), rgba(23, 51, 255, 0.02));
    border: 1px solid rgba(23, 51, 255, 0.1);
    border-radius: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-period:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 51, 255, 0.3);
}

.chart-area {
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding: 0 10px;
    position: relative;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

.bar-container {
    width: 100%;
    height: 90%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.chart-bar {
    width: 40%;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.chart-bar.primary {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
}

.chart-bar.secondary {
    background: linear-gradient(180deg, #c084fc 0%, #9333ea 100%);
}

.chart-bar:hover {
    filter: brightness(1.1);
    transform: scaleY(1.05);
}

.bar-label {
    margin-top: 12px;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Right Section - Unique Layout */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-card {
       background: linear-gradient(135deg, #e4eeff 0%, #c8d5e75e 100%);
    border-radius: 24px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    min-height: 400px;
}

/* .quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(23, 51, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
} */

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quote-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.quote-arrow {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.1), rgba(23, 51, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
    background: linear-gradient(180deg, #1733ffb5 0%, rgb(29 70 129) 100%);
}

.quote-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 255, 0.8));
    border: 1px solid rgba(23, 51, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.quote-item:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(23, 51, 255, 0.1);
}

.quote-item:hover::before {
    transform: scaleY(1);
}

.quote-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    position: relative;
    overflow: hidden;
}

.quote-item:nth-child(1) .quote-number {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.quote-item:nth-child(2) .quote-number {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.quote-item:nth-child(3) .quote-number {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.quote-info {
    display: flex;
    flex-direction: column;
}

.quote-id {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
}

.quote-client {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 2px;
}

.quote-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Creative Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(23, 51, 255, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
} */

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.circular-stat {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.circular-bg {
    fill: none;
    stroke: var(--gray-100);
    stroke-width: 8;
}

.circular-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.stat-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}



.stat-desc {
    font-size: 12px;
    color: var(--gray-500);
}

/* Table Section - Enhanced */
.table-section {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* overflow: hidden; */
    height: 100%;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.table-title {
     font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    background: linear-gradient(135deg, #33577e 0%, #2c69a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.table-controls {
    display: flex;
    gap: 12px;
}

.search-wrapper {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.03), rgba(23, 51, 255, 0.01));
    border-radius: 14px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(23, 51, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
}

.table-btn {
    padding: 12px 20px;
    border: 2px solid var(--gray-200);
    background: white;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.table-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 51, 255, 0.3);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.data-table thead tr {
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.05), rgba(23, 51, 255, 0.02));
}

.data-table th {
    text-align: left;
    padding: 15px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.03), rgba(139, 92, 246, 0.03));
    /* transform: scale(1.01); */
    box-shadow: 0 5px 20px rgba(23, 51, 255, 0.08);
}

.data-table td {
    padding: 18px 15px;
    font-size: 13px;
    color: var(--gray-700);
}


@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.status-paid {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--success);
}

.status-paid::before {
    background: var(--success);
}

.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: var(--warning);
}

.status-pending::before {
    background: var(--warning);
}

.table-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
        display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn.view {
    background: rgba(23, 51, 255, 0.1);
    color: var(--primary);
}

.action-btn.pay {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary);
}

.action-btn.pdf {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}
.action-btn.order_change_req_btn {
    background-color: #ffffff;
    color: #1733ff;
    border: 1px solid #d4d9ff;
    white-space: nowrap;
   
}
.action-btn:hover, .order_change_req_btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1000px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 2fr;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        padding: 15px;
    }

    .metrics-container,
    .stats-section {
        grid-template-columns: 1fr;
    }

    .header-stats {
        display: none;
    }

    .table-controls {
        flex-direction: column;
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }
}

/* Modal for Order Change Request Start */

  /* Custom Variables */
        .ocr-modal-wrapper {
            --ocr-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --ocr-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --ocr-dark: linear-gradient(135deg, #003d7a 0%, #0066cc 100%);
        }

        /* Override Bootstrap Modal for this specific modal only */
        .ocr-modal-wrapper.modal {
            display: none;
            overflow: hidden;
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 1050;
            -webkit-overflow-scrolling: touch;
            outline: 0;
        }

        .ocr-modal-wrapper.modal.fade .ocr-dialog {
            transform: translate(0, -25%);
            transition: transform 0.3s ease-out;
        }

        .ocr-modal-wrapper.modal.in .ocr-dialog {
            transform: translate(0, 0);
        }

        .ocr-modal-backdrop {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            display: none;
            z-index: 1040;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
        }

        .ocr-modal-backdrop.fade {
            opacity: 0;
        }

        .ocr-modal-backdrop.in {
            opacity: 1;
        }

        /* Unique Dialog Container */
        .ocr-dialog {
            position: relative;
            width: 540px;
            margin: 80px auto;
            animation: ocrFloat 6s ease-in-out infinite;
        }

        @keyframes ocrFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        /* Unique Content Container */
        .ocr-content {
            position: relative;
            background: rgba(255, 255, 255, 0.98);
            border: none;
            border-radius: 20px;
            box-shadow: 
                0 15px 50px rgba(31, 38, 135, 0.35),
                0 5px 15px rgba(0, 0, 0, 0.08);
            background-clip: padding-box;
            outline: 0;
            overflow: hidden;
        }

        /* Gradient Border Top */
        .ocr-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #ffffff, #6371cd, #767176, #ffffff, #6783ff);
            background-size: 200% 100%;
            animation: ocrGradientMove 3s ease infinite;
        }

        @keyframes ocrGradientMove {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        /* Unique Header */
        .ocr-header {
            padding: 28px 32px 0;
            border: none;
            position: relative;
        }

        .ocr-title {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            background: var(--ocr-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .ocr-order-number {
            margin-top: 6px;
            font-size: 15px;
            color: #7c3aed;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ocr-order-number::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--ocr-primary);
            border-radius: 50%;
            animation: ocrPulse 2s infinite;
        }

        @keyframes ocrPulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.7; }
        }

        /* Unique Close Button */
        .ocr-close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            font-size: 20px;
            color: #666;
            padding: 0;
        }

        .ocr-close-btn:hover {
            transform: rotate(90deg) scale(1.1);
            background: rgb(58, 58, 248);
            color: white;
            box-shadow: 0 6px 20px rgba(87, 100, 245, 0.3);
        }

        /* Unique Body */
        .ocr-body {
            padding: 24px 32px 28px;
        }

        /* Unique Editor Container */
        .ocr-editor-wrapper {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(102, 126, 234, 0.2);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
            transition: all 0.3s ease;
        }

        .ocr-editor-wrapper:hover {
            box-shadow: 0 6px 30px rgba(102, 126, 234, 0.2);
            transform: translateY(-2px);
        }

        /* Unique Toolbar */
        .ocr-toolbar {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 12px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        }

        .ocr-tool-btn {
            position: relative;
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.08);
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 10px;
            color: #555;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            min-width: 36px;
            height: 36px;
            overflow: hidden;
        }

        .ocr-tool-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--ocr-primary);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
            z-index: 0;
        }

        .ocr-tool-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            border-color: rgba(102, 126, 234, 0.3);
        }

        .ocr-tool-btn:hover::before {
            width: 100px;
            height: 100px;
            opacity: 0.1;
        }

        .ocr-tool-btn.ocr-active {
            background: var(--ocr-primary);
            color: white;
            border: none;
            transform: scale(0.95);
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
        }

        .ocr-tool-btn i,
        .ocr-tool-btn span {
            position: relative;
            z-index: 1;
        }

        .ocr-tool-bold {
            font-family: Georgia, serif;
            font-size: 16px;
            font-weight: 700;
        }

        .ocr-separator {
            width: 1px;
            height: 24px;
            background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.2), transparent);
            margin: 0 8px;
        }

        /* Unique Text Editor */
        .ocr-text-input {
            min-height: 180px;
            max-height: 300px;
            padding: 16px;
            font-size: 15px;
            line-height: 1.7;
            color: #2d3748;
            outline: none;
            overflow-y: auto;
            background: transparent;
            border: none;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .ocr-text-input:focus {
            outline: none;
        }

        .ocr-text-input[data-placeholder]:empty::before {
            content: attr(data-placeholder);
            color: #a0aec0;
            pointer-events: none;
            font-style: italic;
        }

        /* Unique Footer */
        .ocr-footer {
            padding: 0 32px 32px;
            border: none;
            text-align: center;
        }

        /* Unique Buttons */
        .ocr-btn {
            position: relative;
            padding: 12px 48px;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            overflow: hidden;
            margin: 0 8px;
            display: inline-block;
        }

        .ocr-btn-submit {
            background: var(--ocr-dark);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
        }

        .ocr-btn-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .ocr-btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 61, 122, 0.4);
        }

        .ocr-btn-submit:hover::before {
            left: 100%;
        }

        .ocr-btn-cancel {
            background: white;
            color: #667eea;
            position: relative;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .ocr-btn-cancel::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: var(--ocr-primary);
            border-radius: 14px;
            z-index: -1;
        }

        .ocr-btn-cancel:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
            color: #faf9fb;
        }

        /* Custom Scrollbar for editor */
        .ocr-text-input::-webkit-scrollbar {
            width: 8px;
        }

        .ocr-text-input::-webkit-scrollbar-track {
            background: rgba(102, 126, 234, 0.05);
            border-radius: 4px;
        }

        .ocr-text-input::-webkit-scrollbar-thumb {
            background: var(--ocr-primary);
            border-radius: 4px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .ocr-dialog {
                width: 90%;
                margin: 30px auto;
            }
        }

        /*Success Modal  */
        .success-modal-wrapper * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

     
        .success-modal-overlay-unique {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            animation: successFadeInUnique 0.3s ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

      
        .success-modal-box-unique {
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 420px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: successSlideUpUnique 0.4s ease;
            overflow: hidden;
        }

       
        .success-modal-box-unique::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4ade80, #22d3ee, #a78bfa);
            animation: successGradientMoveUnique 3s ease infinite;
        }

       
        .success-icon-wrapper-unique {
            width: 100px;
            height: 100px;
            margin: 0 auto 25px;
            position: relative;
            animation: successBounceInUnique 0.6s ease;
        }

        .success-circle-badge-unique {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
        }

        .success-circle-badge-unique::before {
            content: '';
            position: absolute;
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
            opacity: 0.2;
            animation: successPulseUnique 2s ease-in-out infinite;
        }

        .success-checkmark-icon-unique {
            font-size: 50px;
            color: white;
            z-index: 1;
            animation: successCheckmarkUnique 0.8s ease;
        }

       
        .success-modal-heading-unique {
            font-size: 28px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .success-modal-text-unique {
            font-size: 16px;
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        /* Unique Button Styles */
        .success-button-group-unique {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .success-btn-unique {
            padding: 12px 30px;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .success-btn-primary-unique {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .success-btn-primary-unique:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

        .success-btn-secondary-unique {
            background: #f3f4f6;
            color: #4b5563;
        }

        .success-btn-secondary-unique:hover {
            background: #e5e7eb;
            transform: translateY(-2px);
        }

        /* Unique Close button */
        .success-close-btn-unique {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #f3f4f6;
            border: none;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            color: #6b7280;
        }

        .success-close-btn-unique:hover {
            background: #e5e7eb;
            transform: rotate(90deg);
        }

        /* Unique Confetti decoration */
        .success-confetti-unique {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #fbbf24;
            animation: successConfettiFallUnique 3s ease-in-out infinite;
        }

        .success-confetti-unique:nth-child(1) {
            left: 10%;
            animation-delay: 0s;
            background: #f87171;
        }

        .success-confetti-unique:nth-child(2) {
            left: 30%;
            animation-delay: 0.5s;
            background: #60a5fa;
        }

        .success-confetti-unique:nth-child(3) {
            left: 50%;
            animation-delay: 1s;
            background: #34d399;
        }

        .success-confetti-unique:nth-child(4) {
            left: 70%;
            animation-delay: 1.5s;
            background: #fbbf24;
        }

        .success-confetti-unique:nth-child(5) {
            left: 90%;
            animation-delay: 2s;
            background: #a78bfa;
        }

        /* Unique Animations */
        @keyframes successFadeInUnique {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes successSlideUpUnique {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes successBounceInUnique {
            0% {
                transform: scale(0);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes successPulseUnique {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        @keyframes successCheckmarkUnique {
            0% {
                transform: scale(0) rotate(45deg);
            }
            50% {
                transform: scale(1.2) rotate(-5deg);
            }
            100% {
                transform: scale(1) rotate(0);
            }
        }

        @keyframes successGradientMoveUnique {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes successConfettiFallUnique {
            0% {
                transform: translateY(-100vh) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        /* Responsive with unique classes */
        @media (max-width: 480px) {
            .success-modal-box-unique {
                padding: 30px 20px;
            }

            .success-modal-heading-unique {
                font-size: 24px;
            }

            .success-button-group-unique {
                flex-direction: column;
            }

            .success-btn-unique {
                width: 100%;
            }
        }

    
/* New Tab Table Design CSS */


.dashboard-container {

  /* background: rgba(255, 255, 255, 0.95); */
  background:linear-gradient(276deg, #d3ea6647 0%, #1743ff17 25%, #317fad00 100%);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  padding: 40px;
  position: relative;
  /* z-index: 1; */
  margin-bottom: 30px;
}

/* Header Section */
.tableheader-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.title-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.title-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1733ff, #667eea);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(23, 51, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.title-icon i {
     color: white;
    font-size: 30px;
}

h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, #1733ff, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

/* Stats Cards */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    left: -30%;
    width: 134%;
    border-radius: 101%;
    height: 272%;
    background: radial-gradient(circle, rgb(193 205 230 / 7%) 0%, #435df30f 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stat-number {    
    color: #1733ff;
    margin-bottom: 5px;
    position: relative;
    font-size: 2rem;
    background: linear-gradient(135deg, #5f30a5, #19833d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;

}

.stat-label {
    color: #666;
    position: relative;   
    font-weight: 700;   
    margin-bottom: 5px;    
    background: linear-gradient(135deg, #876d74, #196783);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   
}

/* Control Section */
.controls {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1733ff, #667eea);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(23, 51, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(23, 51, 255, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: white;
  position: relative;
  z-index: 1;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 350px;
}



.search-input:focus {
  outline: none;
  box-shadow: 0 5px 20px rgba(23, 51, 255, 0.2);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 54%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: #1733ff;
}

.filter-btn {
  padding: 12px 20px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #1733ff;
  color: #1733ff;
  box-shadow: 0 5px 15px rgba(23, 51, 255, 0.2);
}


/* Recent Activity CSS */
 .recent-activity-container {
               background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    /* max-width: 600px; */
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.5s ease-out;
    flex: 1;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .activity-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
        }

        .activity-title {
       display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    background: linear-gradient(135deg, #33577e 0%, #2c69a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
        }

        .activity-title i {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: none;
        }

        .view-all-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .view-all-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .activity-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .activity-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .activity-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .activity-item:hover {
            background: #ffffff;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transform: translateX(5px);
        }

        .activity-item:hover::before {
            transform: scaleY(1);
        }

        .activity-icon {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 18px;
        }

        .icon-success {
            background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
            color: #0e7490;
        }

        .icon-warning {
                background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2a7f7b;
        }

        .icon-info {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            color: #1e40af;
        }

        .icon-danger {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
            color: #991b1b;
        }

        .icon-primary {
               background: linear-gradient(135deg, #66c67b 0%, #3eb2ca 100%);
    color: white;
        }

        .activity-content {
            flex: 1;
        }

        .activity-text {
            font-size: 15px;
            color: #4a5568;
            margin-bottom: 5px;
            line-height: 1.5;
        }

        .activity-text strong {
            color: #2d3748;
            font-weight: 600;
        }

        .activity-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 13px;
            color: #718096;
        }

        .activity-time {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .activity-time i {
            font-size: 12px;
        }

        .activity-badge {
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .badge-new {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .badge-completed {
            background: #d1fae5;
            color: #065f46;
        }

        .badge-pending {
            background: #fed7aa;
            color: #92400e;
        }

        .empty-state {
            text-align: center;
            padding: 40px;
            color: #718096;
        }

        .empty-state i {
            font-size: 48px;
            color: #cbd5e0;
            margin-bottom: 15px;
        }

        /* Responsive Design */
        @media (max-width: 640px) {
            .recent-activity-container {
                padding: 20px;
            }

            .activity-header {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }

            .view-all-btn {
                width: 100%;
                justify-content: center;
            }

            .activity-item {
                padding: 12px;
            }

            .activity-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .activity-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
        }

        /* Loading Animation */
        .activity-item {
            animation: fadeIn 0.5s ease-out forwards;
            opacity: 0;
        }

        .activity-item:nth-child(1) { animation-delay: 0.1s; }
        .activity-item:nth-child(2) { animation-delay: 0.2s; }
        .activity-item:nth-child(3) { animation-delay: 0.3s; }
        .activity-item:nth-child(4) { animation-delay: 0.4s; }
        .activity-item:nth-child(5) { animation-delay: 0.5s; }
        .activity-item:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

    /* Profile Dropdown */
        .profile-dropdown {
            position: relative;
        }
        
        .profile-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }
        
        .profile-trigger:hover {
            background: #f3f4f6;
        }
        
        .profile-trigger.active {
            background: #f3f4f6;
            border-color: #e5e7eb;
        }
        
        .profile-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            font-weight: 600;
        }
        
        .profile-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .dropdown-arrow {
            color: #6b7280;
            font-size: 10px;
            transition: transform 0.2s ease;
        }
        
        .profile-trigger.active .dropdown-arrow {
            transform: rotate(180deg);
        }
        
        /* Dropdown Menu */
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border: 1px solid #e5e7eb;
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease;
        }
        
        .dropdown-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            display: block;
        }
        
        .dropdown-header {
            padding: 16px;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .dropdown-user-name {
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 4px;
        }
        
        .dropdown-user-email {
            font-size: 13px;
            color: #6b7280;
        }
        
        .dropdown-item {
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #4b5563;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            font-size: 14px;
        }
        
        .dropdown-item:hover {
            background: #f3f4f6;
            color: #1f2937;
        }
        
        .dropdown-item i {
            width: 16px;
            text-align: center;
        }
        
      
        
        .dropdown-item.danger {
            color: #dc2626;
        }
        
        .dropdown-item.danger:hover {
            background: #fee2e2;
            color: #991b1b;
        }
             
        /*design for qoute lost no data found  */
         .no-quotes-container {
               /* background: white; */
    /* border-radius: 20px; */
    /* padding: 60px 40px; */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); */
    text-align: center;
    /* max-width: 500px; */
    /* width: 100%; */
    /* animation: fadeInUp 0.6s ease-out; */
        }

        .icon-wrapper {
            background: linear-gradient(135deg, #1d1f26 0%, #4f9ff0 100%);
            width: 120px;
            height: 120px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 30px;
            position: relative;
            animation: pulse 2s infinite;
        }

        .icon-wrapper::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            opacity: 0.2;
            animation: ripple 2s infinite;
        }

        .icon-wrapper i {
            font-size: 50px;
            color: white;
        }

        .no-quotes-title {
            font-size: 20px;
            color: #2d4969;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .no-quotes-message {
            font-size: 16px;
            color: #3f5981cc;
            line-height: 1.6;
            margin-bottom: 35px;
        }
  
        .dropdown-container {
            position: relative;
            width: 200px;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        .dropdown-label {
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
            margin-bottom: 8px;
            display: block;
        }

        .dropdown-trigger {
            width: 100%;
            padding: 10px 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .dropdown-trigger:hover {
            border-color: #cbd5e1;
        }

        .dropdown-container.open .dropdown-trigger {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .dropdown-selected {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        .dropdown-selected-text {
            font-size: 14px;
            font-weight: 500;
            color: #1e293b;
        }

        .dropdown-placeholder {
            color: #94a3b8;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
            animation: blink 2s infinite;
        }

        .status-dot.active { background: #22c55e; }
        .status-dot.pending { background: #f59e0b; }
        .status-dot.inactive { background: #ef4444; }
        .status-dot.draft { background: #6b7280; }
        .status-dot.review { background: #8b5cf6; }
        .status-dot.completed { background: #06b6d4; }

        .dropdown-clear {
            background: none;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            padding: 2px;
            font-size: 11px;
            display: none;
        }

        .dropdown-container.has-value .dropdown-clear {
            display: flex;
        }

        .dropdown-clear:hover {
            color: #ef4444;
        }

        .dropdown-arrow {
            color: #94a3b8;
            font-size: 11px;
            transition: transform 0.2s ease;
        }

        .dropdown-container.open .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 6px;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.2s ease;
        }

        .dropdown-container.open .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            display: block;
        }

        .dropdown-search {
            width: 100%;
            padding: 8px 10px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 13px;
            margin-bottom: 6px;
            background: #f8fafc;
            box-sizing: border-box;
        }

        .dropdown-search:focus {
            outline: none;
            border-color: #3b82f6;
            background: #fff;
        }

        .dropdown-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .dropdown-option:hover {
            background: #f1f5f9;
        }

        .dropdown-option.selected {
            background: #eff6ff;
        }

        .dropdown-option.selected .dropdown-option-text {
            color: #3b82f6;
            font-weight: 600;
        }

        .dropdown-option-text {
            font-size: 13px;
            color: #334155;
            flex: 1;
        }

        .dropdown-option-check {
            color: #3b82f6;
            font-size: 12px;
            opacity: 0;
        }

        .dropdown-option.selected .dropdown-option-check {
            opacity: 1;
        }
 .date-filter-dropdown {
        position: relative;
        font-family: 'Segoe UI', system-ui, sans-serif;
    }

    .date-filter-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
        color: #475569;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .date-filter-trigger:hover {
        border-color: #cbd5e1;
        background: #f8fafc;
    }

    .date-filter-dropdown.open .date-filter-trigger {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .date-filter-trigger i.fa-calendar {
        color: #3b82f6;
        font-size: 12px;
    }

    .date-filter-trigger .filter-text {
        flex: 1;
    }

    .date-filter-trigger .filter-arrow {
        color: #94a3b8;
        font-size: 10px;
        transition: transform 0.2s ease;
    }

    .date-filter-dropdown.open .filter-arrow {
        transform: rotate(180deg);
    }

    .date-filter-menu {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        min-width: 180px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 6px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all 0.2s ease;
    }

    .date-filter-dropdown.open .date-filter-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .date-filter-option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13px;
        color: #475569;
        transition: all 0.15s ease;
    }

    .date-filter-option:hover {
        background: #f1f5f9;
    }

    .date-filter-option.selected {
        background: #eff6ff;
        color: #3b82f6;
        font-weight: 600;
    }

    .date-filter-option i.fa-check {
        font-size: 11px;
        color: #3b82f6;
        opacity: 0;
        margin-left: auto;
    }

    .date-filter-option.selected i.fa-check {
        opacity: 1;
    }

    .date-filter-option .option-icon {
        width: 28px;
        height: 28px;
        background: #f1f5f9;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #64748b;
    }

    .date-filter-option:hover .option-icon {
        background: #e2e8f0;
    }

    .date-filter-option.selected .option-icon {
        background: #dbeafe;
        color: #3b82f6;
    }

    .filter-divider {
        height: 1px;
        background: #e2e8f0;
        margin: 6px 0;
    }
div#profileDropdown {
    left: auto;
}

/* ========================================
   STATUS BADGE - Base Styles
   ======================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    position: relative;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: blink 2s infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}


/* ========================================
   COLOR VARIABLES (Custom Properties)
   ======================================== */

:root {
    /* Primary Status Colors */
    --status-in-progress: #f59e0b;       /* Orange/Amber - In Progress */
    --status-sent: #3b82f6;              /* Blue - Sent/Waiting */
    --status-approved: #10b981;          /* Green - Approved/Success */
    --status-closed: #6b7280;            /* Gray - Closed/Cancelled */
    --status-expired: #ef4444;           /* Red - Expired/Error */
    --status-revision: #8b5cf6;          /* Purple - Revisions */
    --status-production: #14b8a6;        /* Teal - In Production */
    --status-paid: #22c55e;              /* Bright Green - Paid */
    --status-proof: #ec4899;             /* Pink - Proof Stage */
}


/* ========================================
   1. QUOTE REQUEST / OPPORTUNITY Statuses
   ======================================== */

/* In Progress (Discovery, Ideation, Sampling, Quote in Progress) */
.status-in-progress {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: var(--status-in-progress);
}
.status-in-progress::before {
    background: var(--status-in-progress);
}

/* Alias classes for specific opportunity stages - all map to In Progress */
.status-discovery,
.status-ideation,
.status-sampling,
.status-quote-in-progress {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: var(--status-in-progress);
}
.status-discovery::before,
.status-ideation::before,
.status-sampling::before,
.status-quote-in-progress::before {
    background: var(--status-in-progress);
}


/* ========================================
   2. QUOTE Statuses
   ======================================== */

/* In Progress (Pending Quote) */
.status-pending-quote {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: var(--status-in-progress);
}
.status-pending-quote::before {
    background: var(--status-in-progress);
}

/* Quote Sent (PPT w Client, PPT Approved, Sent for Signature) */
.status-quote-sent,
.status-ppt-w-client,
.status-ppt-approved,
.status-sent-for-signature {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.08));
    color: var(--status-sent);
}
.status-quote-sent::before,
.status-ppt-w-client::before,
.status-ppt-approved::before,
.status-sent-for-signature::before {
    background: var(--status-sent);
}

/* Revisions In Progress (Revision Needed) */
.status-revision-needed,
.status-revisions-in-progress {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.08));
    color: var(--status-revision);
}
.status-revision-needed::before,
.status-revisions-in-progress::before {
    background: var(--status-revision);
}

/* Quote Approved (Signed by Customer) */
.status-quote-approved,
.status-signed-by-customer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--status-approved);
}
.status-quote-approved::before,
.status-signed-by-customer::before {
    background: var(--status-approved);
}

/* Quote Closed (Quote Lost, Cancelled) */
.status-quote-closed,
.status-quote-lost,
.status-cancelled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.08));
    color: var(--status-closed);
}
.status-quote-closed::before,
.status-quote-lost::before,
.status-cancelled::before {
    background: var(--status-closed);
}

/* Quote Expired (Signature Link Expired) */
.status-quote-expired,
.status-signature-link-expired {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.08));
    color: var(--status-expired);
}
.status-quote-expired::before,
.status-signature-link-expired::before {
    background: var(--status-expired);
}


/* ========================================
   3. ORDER Statuses
   ======================================== */

/* Order Approved (In Progress) */
.status-order-approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--status-approved);
}
.status-order-approved::before {
    background: var(--status-approved);
}

/* Proof with Customer (Proof Pending) */
.status-proof-pending,
.status-proof-with-customer {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.08));
    color: var(--status-proof);
}
.status-proof-pending::before,
.status-proof-with-customer::before {
    background: var(--status-proof);
}

/* In Production (Proof Approved) */
.status-proof-approved,
.status-in-production {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(45, 212, 191, 0.08));
    color: var(--status-production);
}
.status-proof-approved::before,
.status-in-production::before {
    background: var(--status-production);
}


/* ========================================
   4. INVOICE Statuses
   ======================================== */

/* Invoice Sent (Submitted) */
.status-submitted,
.status-invoice-sent {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.08));
    color: var(--status-sent);
}
.status-submitted::before,
.status-invoice-sent::before {
    background: var(--status-sent);
}

/* Invoice Closed (Canceled) */
.status-canceled,
.status-invoice-closed {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.08));
    color: var(--status-closed);
}
.status-canceled::before,
.status-invoice-closed::before {
    background: var(--status-closed);
}

/* Invoice Paid (Fulfilled) */
.status-fulfilled,
.status-invoice-paid,
.status-paid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.08));
    color: var(--status-paid);
}
.status-fulfilled::before,
.status-invoice-paid::before,
.status-paid::before {
    background: var(--status-paid);
}

/* Fully Paid - Green */
.status-invoice-fully-paid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
    /* border: 1px solid rgba(34, 197, 94, 0.3); */
}
.status-invoice-fully-paid::before {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

/* Partially Paid - Orange/Amber */
.status-invoice-partially-paid {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    color: #f59e0b;
    /* border: 1px solid rgba(245, 158, 11, 0.3); */
}
.status-invoice-partially-paid::before {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

/* Not Paid - Red */
.status-invoice-not-paid {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
    /* border: 1px solid rgba(239, 68, 68, 0.3); */
}
.status-invoice-not-paid::before {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

/* ==========================================
   LEGACY STATUS CLASSES (for backward compatibility)
   ========================================== */

/* Invoice Paid - maps to Fully Paid */
.status-invoice-paid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.status-invoice-paid::before {
    background: #22c55e;
}

/* Invoice Sent - maps to Not Paid */
.status-invoice-sent {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-invoice-sent::before {
    background: #ef4444;
}

/* Invoice Closed - Gray */
.status-invoice-closed {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}
.status-invoice-closed::before {
    background: #6b7280;
}

/* Invoice Pending - maps to Not Paid */
.status-invoice-pending {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-invoice-pending::before {
    background: #ef4444;
}

/* Invoice N/A - Gray */
.status-invoice-na {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.3);
}
.status-invoice-na::before {
    background: #64748b;
}

/* Invoice Other/Unknown - Gray */
.status-invoice-other {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.3);
}
.status-invoice-other::before {
    background: #64748b;
}

/* ========================================
   GENERIC/COMMON Statuses (Reusable)
   ======================================== */

/* Active */
.status-active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--status-approved);
}
.status-active::before {
    background: var(--status-approved);
}

/* Inactive */
.status-inactive {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.08));
    color: var(--status-closed);
}
.status-inactive::before {
    background: var(--status-closed);
}

/* Draft */
.status-draft {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.08));
    color: var(--status-closed);
}
.status-draft::before {
    background: var(--status-closed);
}

/* Pending (Generic) */
.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: var(--status-in-progress);
}
.status-pending::before {
    background: var(--status-in-progress);
}

/* Approved (Generic) */
.status-approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--status-approved);
}
.status-approved::before {
    background: var(--status-approved);
}

/* Complete/Completed */
.status-complete,
.status-completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.08));
    color: var(--status-approved);
}
.status-complete::before,
.status-completed::before {
    background: var(--status-approved);
}

/* Failed/Error */
.status-failed,
.status-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(248, 113, 113, 0.08));
    color: var(--status-expired);
}
.status-failed::before,
.status-error::before {
    background: var(--status-expired);
}

/* On Hold */
.status-on-hold {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.08));
    color: var(--status-revision);
}
.status-on-hold::before {
    background: var(--status-revision);
}

/* New */
.status-new {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.08));
    color: #06b6d4;
}
.status-new::before {
    background: #06b6d4;
}

/* Invoiced */
.status-invoiced {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(45, 212, 191, 0.08));
    color: var(--status-production);
}
.status-invoiced::before {
    background: var(--status-production);
}

/* ==========================================
   UNIVERSAL STATUS BADGE TOOLTIP
   With Font Awesome Icons & Smooth Animations
   ========================================== */

.status-badge-tooltip {
    position: absolute;
    z-index: 99999;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 0;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    max-width: 320px;
    min-width: 200px;
    overflow: hidden;
}

/* Tooltip content wrapper */
.status-badge-tooltip .tooltip-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
}

/* Icon wrapper with background */
.status-badge-tooltip .tooltip-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon styling */
.status-badge-tooltip .tooltip-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Text wrapper */
.status-badge-tooltip .tooltip-text-wrapper {
    flex: 1;
}

/* Message text */
.status-badge-tooltip .tooltip-message {
    line-height: 1.5;
    color: #e2e8f0;
    display: block;
}

/* Arrow */
.status-badge-tooltip .tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0f172a;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* When tooltip is shown */
.status-badge-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Icon animation when shown */
.status-badge-tooltip.show .tooltip-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 4px 15px currentColor;
}

.status-badge-tooltip.show .tooltip-icon {
    animation: iconBounce 0.5s ease-out;
}

@keyframes iconBounce {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Hiding animation */
.status-badge-tooltip.hiding {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
}

/* When tooltip is below badge */
.status-badge-tooltip.below {
    transform: translateY(0) scale(1);
}

.status-badge-tooltip.below .tooltip-arrow {
    bottom: auto;
    top: -8px;
    border-top: none;
    border-bottom: 10px solid #1e293b;
}

/* ==========================================
   STATUS BADGE HOVER EFFECTS
   ========================================== */

.status-badge {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.status-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.status-badge:active {
    transform: translateY(-1px) scale(1.02);
}

/* Blinking dot enhancement on hover */
.status-badge::before {
    transition: all 0.3s ease;
}

.status-badge:hover::before {
    animation: pulseGlow 1s ease-in-out infinite;
    box-shadow: 0 0 8px currentColor;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 4px currentColor;
    }
    50% {
        opacity: 0.7;
        transform: scale(1.4);
        box-shadow: 0 0 12px currentColor;
    }
}

/* Ripple effect on click */
.status-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.status-badge:active::after {
    width: 120%;
    height: 120%;
    opacity: 0;
}

/* ==========================================
   SHIMMER EFFECT ON BADGE HOVER
   ========================================== */

.status-badge {
    overflow: hidden;
}

.status-badge:hover {
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .status-badge-tooltip {
        max-width: 280px;
        min-width: 180px;
        font-size: 12px;
    }
    
    .status-badge-tooltip .tooltip-content {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .status-badge-tooltip .tooltip-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .status-badge-tooltip .tooltip-icon {
        font-size: 16px;
    }
}

/* Quote Statuses */
.status-quote-in-progress {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #8b5cf6;
}
.status-quote-in-progress::before { background: #8b5cf6; }

.status-quote-sent {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.08));
    color: #06b6d4;
}
.status-quote-sent::before { background: #06b6d4; }

.status-revisions-in-progress {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.08));
    color: #f97316;
}
.status-revisions-in-progress::before { background: #f97316; }

.status-quote-approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
}
.status-quote-approved::before { background: #22c55e; }

.status-quote-closed {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: #6b7280;
}
.status-quote-closed::before { background: #6b7280; }

.status-quote-expired {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    color: #ef4444;
}
.status-quote-expired::before { background: #ef4444; }

/* Order Statuses */
.status-order-approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
}
.status-order-approved::before { background: #22c55e; }

.status-proof-with-customer {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.08));
    color: #ec4899;
}
.status-proof-with-customer::before { background: #ec4899; }

.status-in-production {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.08));
    color: #14b8a6;
}
.status-in-production::before { background: #14b8a6; }

/* Invoice Statuses */
.status-invoice-pending {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
}
.status-invoice-pending::before { background: #3b82f6; }

.status-invoice-paid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
}
.status-invoice-paid::before { background: #22c55e; }

.status-invoice-closed {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: #6b7280;
}
.status-invoice-closed::before { background: #6b7280; }

/* ==========================================
   ORDER ACTION BUTTON TOOLTIPS
   ========================================== */

.order-tooltip {
    position: absolute;
    z-index: 99999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Arrow pointing down (tooltip above button) */
.order-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #16213e transparent transparent transparent;
}

/* When tooltip is shown */
.order-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* When tooltip is below button */
.order-tooltip.below::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #1a1a2e transparent;
}

/* ==========================================
   INVOICE ACTION BUTTON TOOLTIPS
   ========================================== */

.invoice-tooltip {
    position: absolute;
    z-index: 99999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Arrow pointing down (tooltip above button) */
.invoice-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #16213e transparent transparent transparent;
}

/* When tooltip is shown */
.invoice-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* When tooltip is below button */
.invoice-tooltip.below::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #1a1a2e transparent;
}

/* Button hover effects */
.action_div button {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action_div button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   QUOTE TOOLTIP STYLES
   ========================================== */

.quote-tooltip {
    position: absolute;
    z-index: 99999;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Arrow pointing down (tooltip above button) */
.quote-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

/* When tooltip is shown */
.quote-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* When tooltip is below button */
.quote-tooltip.below {
    transform: translateX(-50%) translateY(0);
}

.quote-tooltip.below::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #1e293b transparent;
}
.description_cell {
  vertical-align: middle;
}

.description_content {
  max-height: 150px;
  overflow-y: auto;
  line-height: 1.4;
  padding-right: 6px;
  box-sizing: border-box;
  overflow-x: hidden;
  word-break: break-word;
}
/* .description_content::-webkit-scrollbar {
  width: 4px;
} */
/* ==========================================
   OTHER/UNKNOWN STATUS BADGE STYLES
   ========================================== */

/* Quote Other - Slate Gray */
.status-quote-other {
      background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
}
.status-quote-other::before { 
    background: #64748b; 
}

/* Order Other - Slate Gray */
.status-order-other {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
}
.status-order-other::before { 
    background: #64748b; 
}

/* Invoice Other - Slate Gray */
.status-invoice-other {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
}
.status-invoice-other::before { 
    background: #64748b; 
}

/* ==========================================
   QUOTE REQUEST STATUS CLASSES
   ========================================== */

/* In Progress - Blue */
.status-quote-request-in-progress {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    color: #3b82f6;
}
.status-quote-request-in-progress::before { background: #3b82f6; }

/* Closed Won - Green */
.status-quote-request-closed-won {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #22c55e;
}
.status-quote-request-closed-won::before { background: #22c55e; }

/* Closed Lost - Gray */
.status-quote-request-closed-lost {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: #6b7280;
}
.status-quote-request-closed-lost::before { background: #6b7280; }

/* Canceled - Gray */
.status-quote-request-canceled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
    color: #6b7280;
}
.status-quote-request-canceled::before { background: #6b7280; }

/* Revised - Orange */
.status-quote-request-revised {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.08));
    color: #f97316;
}
.status-quote-request-revised::before { background: #f97316; }

/* Revision Needed - Orange */
.status-quote-request-revision-needed {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.08));
    color: #f97316;
}
.status-quote-request-revision-needed::before { background: #f97316; }

/* Pending Quote - Purple */
.status-quote-request-pending-quote {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    color: #8b5cf6;
}
.status-quote-request-pending-quote::before { background: #8b5cf6; }

/* Sent for Signature - Cyan */
.status-quote-request-sent-for-signature {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.08));
    color: #06b6d4;
}
.status-quote-request-sent-for-signature::before { background: #06b6d4; }

/* Other/Unknown - Slate Gray */
.status-quote-request-other {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.08));
    color: #64748b;
}
.status-quote-request-other::before { background: #64748b; }

/* ==========================================
   UNIVERSAL STAT CARD TOOLTIP STYLES
   Using unique prefix: sct- (stat card tooltip)
   ========================================== */

/* ==========================================
   STAT CARD ICON WRAPPER
   ========================================== */
.stat-card .sct-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* ==========================================
   QUOTE PAGE COLORS
   ========================================== */
.stat-card[data-stat-type="total-quote"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(23, 51, 255, 0.12), rgba(23, 51, 255, 0.06));
    color: #1733ff;
}
.stat-card[data-stat-type="quote-sent"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.06));
    color: #06b6d4;
}
.stat-card[data-stat-type="quote-approved"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
    color: #10b981;
}
.stat-card[data-stat-type="total-budget"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.06));
    color: #8b5cf6;
}

.stat-card[data-stat-type="total-budget-qr"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.06));
    color: #8b5cf6;
}

/* Quote Page Hover */
.stat-card[data-stat-type="total-quote"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #1733ff, #4a5eff);
    color: white;
    box-shadow: 0 6px 16px rgba(23, 51, 255, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="quote-sent"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: white;
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="quote-approved"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="total-budget"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="total-budget-qr"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
    transform: scale(1.08);
}
/* ==========================================
   QUOTE REQUEST PAGE COLORS
   ========================================== */
.stat-card[data-stat-type="total-requests"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.06));
    color: #6366f1;
}
.stat-card[data-stat-type="in-discovery"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
    color: #f59e0b;
}
.stat-card[data-stat-type="in-progress"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.06));
    color: #3b82f6;
}
.stat-card[data-stat-type="quote-closed"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.06));
    color: #f163c0;
}


/* Quote Request Hover */
.stat-card[data-stat-type="total-requests"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="in-discovery"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="in-progress"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="quote-closed"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #f163c2, #f8ad81);
    color: white;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    transform: scale(1.08);
}

/* ==========================================
   ORDERS PAGE COLORS
   ========================================== */
.stat-card[data-stat-type="total-order"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.06));
    color: #0ea5e9;
}
.stat-card[data-stat-type="in-production"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.06));
    color: #f97316;
}
.stat-card[data-stat-type="order-approved"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
    color: #22c55e;
}
.stat-card[data-stat-type="total-amount"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.06));
    color: #a855f7;
}

/* Orders Hover */
.stat-card[data-stat-type="total-order"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: white;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="in-production"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="order-approved"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="total-amount"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.3);
    transform: scale(1.08);
}

/* ==========================================
   INVOICE PAGE COLORS
   ========================================== */
.stat-card[data-stat-type="total-invoice"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.06));
    color: #6366f1;
}
.stat-card[data-stat-type="partially-paid"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
    color: #f59e0b;
}
.stat-card[data-stat-type="not-paid"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.06));
    color: #ef4444;
}
.stat-card[data-stat-type="fully-paid"] .sct-icon-wrap {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
    color: #22c55e;
}

/* Invoice Hover */
.stat-card[data-stat-type="total-invoice"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="partially-paid"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="not-paid"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
    transform: scale(1.08);
}
.stat-card[data-stat-type="fully-paid"]:hover .sct-icon-wrap {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
    transform: scale(1.08);
}

/* ==========================================
   MAIN TOOLTIP CONTAINER
   ========================================== */
#sct-tooltip {
    position: absolute;
    z-index: 99999;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    pointer-events: none;
}

#sct-tooltip.sct-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================
   TOOLTIP ARROW
   ========================================== */
#sct-tooltip .sct-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

#sct-tooltip.sct-arrow-top .sct-arrow {
    top: -6px;
    left: 50%;
    margin-left: -6px;
}

#sct-tooltip.sct-arrow-bottom .sct-arrow {
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04);
}

/* ==========================================
   TOOLTIP CONTENT
   ========================================== */
#sct-tooltip .sct-content {
    padding: 16px;
}

#sct-tooltip .sct-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#sct-tooltip .sct-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

#sct-tooltip .sct-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

#sct-tooltip .sct-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================
   TOOLTIP FOOTER
   ========================================== */
#sct-tooltip .sct-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 12px 12px;
    font-size: 11px;
    color: #94a3b8;
}

#sct-tooltip .sct-footer i {
    color: #fbbf24;
    font-size: 12px;
}

/* ==========================================
   TOOLTIP ICON COLORS BY TYPE
   ========================================== */

/* Quote Page */
#sct-tooltip.sct-type-total-quote .sct-icon {
    background: linear-gradient(135deg, #1733ff, #4a5eff);
    color: white;
}
#sct-tooltip.sct-type-quote-sent .sct-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: white;
}
#sct-tooltip.sct-type-quote-approved .sct-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}
#sct-tooltip.sct-type-total-budget .sct-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
}
#sct-tooltip.sct-type-total-budget-qr .sct-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
}
/* Quote Request Page */
#sct-tooltip.sct-type-total-requests .sct-icon {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
}
#sct-tooltip.sct-type-in-discovery .sct-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}
#sct-tooltip.sct-type-in-progress .sct-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}
#sct-tooltip.sct-type-quote-closed .sct-icon {
    background: linear-gradient(135deg, #f163c2, #f8ad81);
    color: white;
}


/* Orders Page */
#sct-tooltip.sct-type-total-order .sct-icon {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: white;
}
#sct-tooltip.sct-type-in-production .sct-icon {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
}
#sct-tooltip.sct-type-order-approved .sct-icon {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
}
#sct-tooltip.sct-type-total-amount .sct-icon {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
}

/* Invoice Page */
#sct-tooltip.sct-type-total-invoice .sct-icon {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
}
#sct-tooltip.sct-type-partially-paid .sct-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}
#sct-tooltip.sct-type-not-paid .sct-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}
#sct-tooltip.sct-type-fully-paid .sct-icon {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: white;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 480px) {
    #sct-tooltip {
        width: 250px;
    }
    
    #sct-tooltip .sct-content {
        padding: 12px;
    }
    
    #sct-tooltip .sct-title {
        font-size: 13px;
    }
    
    #sct-tooltip .sct-desc {
        font-size: 11.5px;
    }
    
    .stat-card .sct-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}