/* Buttons - Modern Interactive States */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.red {
    color: red !important;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Reduced gap for smaller scale */
    padding: 6px 16px; /* Scaled down from 12px 24px */
    /* border-radius: var(--radius-pill); */
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

/* Hover State */
.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-success { 
    background: var(--uv-green); 
    color: #fff !important; 
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}

.btn-success-outline { 
    background: transparent;
    border: 1px solid var(--uv-green); 
    color: var(--uv-green) !important; 
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}

.btn-success-outline:hover { 
    background: var(--uv-green);
    border: 1px solid var(--uv-green); 
    color: var(--ink-2) !important;
     transform: translateY(-2px);  
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}


.btn-success:hover { 
    background: var(--indigo-900); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.3);
}


/* Active/Click State */
.btn-sm:active {
    transform: translateY(0);
}

.btn-primary { 
    background: var(--indigo-900); 
    color: #fff !important; 
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}

.btn-primary1 { 
    background: var(--indigo-900); 
    color: #fff !important; 
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.2);
}
.btn-primary1:hover { 
    background: var(--uv-green); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.3);
}




.btn-primary:hover { 
    background: var(--uv-green); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.3);
}

.btn-outline-red {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-outline-red:hover {
    background: var(--danger); ;
    border: 1px solid var(--danger);
    color: white;
}


.btn-outline {
    background: transparent;
    border: 2px solid var(--indigo-900);
    color: var(--indigo-900);
}

.btn-outline:hover {
    background: var(--indigo-900);
    color: #fff;
}

/* Form Styling - "BEAMS" Input Style Fixes */
input[type=text],
input[type=email],
input[type=search],
input[type=password],
input[type=date],
input[type=url],
textarea, 
select {
    width: 100%;
    height: 48px; /* Fixed height for consistency in rows */
    padding: 0 16px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--canvas);
    font-family: var(--sans); /* Force Poppins */
    font-size: var(--text-sm);
    color: var(--ink);
    transition: all var(--transition);
    display: block;
}

textarea {
    height: auto;
    padding: 14px 16px;
    min-height: 120px;
}

/* Fix for Select arrows appearing weird */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    border: 1px solid var(--ink) !important;
}



input:focus, 
textarea:focus,
select:focus {
    background: #fff;
    border-color: var(--indigo-700);
    box-shadow: 0 0 0 4px rgba(30, 58, 107, 0.1);
    outline: none;
}

/* Labels and Field Groups */
.field-group {
    margin-bottom: var(--s-6);
}

.field-label {
    display: block;
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--indigo-900);
    margin-bottom: var(--s-2);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Base Badge Styles */
.badge-custom {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem; /* Makes it a pill shape */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Color Variations */
.badge-custom {
    display: inline-block;
    width: 120px; /* Adjust this value based on your longest text like "Under Review" */
    text-align: center;
    padding: 5px 0; /* Vertical padding only, since width is fixed */
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Your existing colors */
.badge-emerald { background-color: #50C878; color: #ffffff; }
.badge-gold    { background-color: #FFD700; color: #333; }
.badge-red     {  text-align: center; background-color: #dc3545; color: #ffffff; }
.badge-gray    { background-color: #042e27; color: #ffffff; }
.badge-info    { background-color: #06a4e2; color: #ffffff; }
.badge-brown   { background-color: #A98B76; color: #ffffff; }

/* Outline Version (Optional) */
.badge-outline-emerald {
    background-color: transparent;
    border: 1px solid #000000;
    color: #000000;
}

/* Container to handle overflow if the table is wide */
/* .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
} */

/* Compressed Table Base */
.table-compressed {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem; /* Smaller font for more data */
    line-height: 1.2;
}

.table-compressed th,
.table-compressed td {
    padding: 4px 8px; /* Tight padding */
    border: 1px solid darkgray;
    white-space: nowrap; /* Prevents text wrapping from bloating row height */
}

.text-truncate {
    max-width: 300px;         /* Adjust this width based on your layout */
    white-space: nowrap;      /* Keeps text on one line */
    overflow: hidden;         /* Hides the extra text */
    text-overflow: ellipsis;  /* Adds the '...' */
    display: block;           /* Required for truncation to work on some elements */
}

/* Optional: Show full title on hover */
.text-truncate:hover {
    cursor: help;
}


/* 1. Container provides the main curve and shadow */
.table-container {
    overflow: hidden; /* Important: clips the table corners */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
}



.alert-error {
    background-color: #dc3545;
    color: white;
    width: fit-content;
    padding: 0 2em;
    border-radius: 2em;
}



table,th, td {
  border: 1px solid black;
  padding: 10px;
  text-align:center;
}


/* Target only rows inside the table body */

/* Apply the success border only to the first cell of the hovered row */

/* Repeat logic for focus (requires tabindex="0" on the tr) */


/* Targets the first cell of every row (Header and Data) */

.beams-table, 
.beams-table th,
.beams-table tr, 
.beams-table td {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
  }

.beams-table td:hover, 
.beams-table tr:hover {
  background-color: transparent !important;
}


/* Base table reset */
.beams-table {
    width: 100%;
    border-collapse: collapse;
}

/* First Column: Acronym Letters */
.beams-table 
td.display {
    text-align: center; /* Or right if you want them closer to the dash */
    vertical-align: middle;
    width: 1%; /* Forces the cell to be only as wide as the letter */
    white-space: nowrap; 
    font-weight:bolder;
    color: var(--uv-green) !important;
}

/* Second Column: Descriptive Text */
/* Base styles (Mobile First) */
.beams-table td:last-child {
    text-align: left !important;
    vertical-align: middle;
    padding-left: 15px;
    padding-top: 5px;
    /* Readable size for phones */
    font-size: 1rem; 
}


.carousel {
    margin: 100px auto;
    width: 90%;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    
    /* The Magic: Creates a fade effect on both ends */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
}
.group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding-right: 1em;
    /* This ensures the animation is continuous */
    animation: marquee 20s infinite linear !important;
    flex-shrink: 0; /* Prevents the group from squishing */
}

/* Updated Animation using transform */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.cardo {
    flex: 0 0 auto; /* Allow the content to define the width */

    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: pause on hover */


svg {
  user-select: none;
  -webkit-user-select: none;
}


.error {
    background-color: #dc3545;
    color: white;
    width: fit-content;
    padding: 0 2em;
    border-radius: 2em;
}

.all-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
        text-align: center;

}

.all-center1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
        text-align: center;

}

.all-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    gap: 15px;
}

.all-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin-top: 2em;
    text-align: center;
    flex-direction: column;
}

.only-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-direction: row;
    gap: 5px;
    margin: 10px;
  
}

.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--indigo-900);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background: var(--amber-500);
}

img {
    width: 1.7em;
}


.field-inline {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #4a5568;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px; /* Aligns checkbox with the first line of text */
  width: auto;     /* Prevents checkbox from stretching */
}

.error.block {
  display: block;
  margin-top: 5px;
}





/* The actual spinner element */
.spinner {
  display: none; /* Hidden by default */
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360_deg); }
}

/* State when the button is loading */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-loading .spinner {
  display: inline-block;
}


.conf-pick1{
    display:flex;
    gap:5rem;
    justify-content: space-evenly;
    padding:var(--s-5);
    border:2px solid var(--line);
    border-radius:var(--radius);
    background:#fff
}

/* .proof {

    display:flex;
    
    border: none !important;
   
   
} */


/* .border-dash {

   display:flex;
   flex-direction:
   column;align-items:center;
   justify-content:center;
   gap:8px;
   padding:var(--s-10) var(--s-6);
   border:2px dashed var(--line);
   border-radius:var(--radius-lg);
   background:var(--canvas);
   cursor:pointer;
   text-align:center;
   transition:all var(--transition)

} */

.gcash {
    width: 340px; 
    height: auto; 
    border: 10px solid #edf2f7; 
    border-radius: 8px; 
    padding: 10px;
}



.upload-drop1 {
    position: relative; /* Required for absolute children */
    width: 300px;      /* Fix your desired width */
    height: 450px;     /* Fix your desired height */
    border: 2px dashed #cbd5e0;
    border-radius: 20px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;   /* Clips the image to the border radius */
    cursor: pointer;
    padding: 0;         /* Crucial: remove padding to allow image to touch borders */
}

/* This container will now "fill" the label completely */
#preview_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Image behavior: Auto-fit to fixed dimensions */
#img_preview {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* This fills the box, cropping edges if necessary */
    object-position: center; 
    display: none;
}

/* Iframe behavior (for PDFs) */
#pdf_preview {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

/* Overlay needs to sit on top of the image */
.change-file-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    z-index: 2;
}

#proof_input {
    display:none;
}



.modern-table {
  width: 100%;
  border-collapse: collapse; /* Required for the "indicator" look */
  border-spacing: 0;
  border: 1px solid black;

}

.modern-table:first-child {
  border-left: 0.6em solid var(--monday-green);
  padding-left: 10px;
}

.modern-table th {
  text-align: center;
  padding: 12px;
  background-color: var(--muted); 
  font-weight: 400;
  color: #ffffff;

}

.modern-table td.title-cell {
    max-width: 0;
    width: 35%; /* Adjust percentage as needed */
    overflow: hidden;
}

.modern-table td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
 
  height: 40px;
  vertical-align: middle;
  color: #323338;
}

/* Highlight the Title column */

/* Status Cell Styling - The "Full Block" look */
.status-cell {
  padding: 0 !important; /* Removes padding so color fills the cell */
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 13px;

}

.status-red { background-color: #df2f4a !important; color: white !important; }
.status-green { background-color: var(--monday-green) !important;  }
.status-green { background-color: var(--monday-green) !important;  }
.status-green { background-color: var(--monday-green) !important;  }
.status-gray  { background-color: var(--monday-gray) !important; }
.status-amber { background-color: var(--monday-amber) !important; }

/* Buttons styling */
.btn-monday {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--monday-blue);
  color: white;
  font-size: 12px;
}


.btn-red {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--monday-red);
  color: white;
  font-size: 12px;
}

.btn-green {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--amber-400);
  color: white;
  font-size: 12px;
}

.btn-red {
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 4px;
  background: #dc2626;
  color: white;
  font-size: 12px;
}

.btn-monday-outline {
    display: inline-block;
    padding: 4px 16px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    color: #323338;
    text-decoration: none;
    font-size: 13px;
}

.btn-monday-outline:hover {
    background: #f5f6f8;
}

.logo_background{
    width:max-content;
}


.field-checkbox {
    margin-bottom: 1.5rem;
}

.field-checkbox input[type="checkbox"] {
    accent-color: #000; /* Matches your black button theme */
}

.field-checkbox label {
    color: #666;
}

/* modal */
/* Modal Backdrop with Blur */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* Modern frosted glass effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Modal Box */
.modal-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-content h3 {
    margin-top: 0;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.modal-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Action Buttons */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-secondary, .btn-danger {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}


.nav-list a.active {
    color: #007bff; /* Or your brand color */
    font-weight: bold;

}

.profile-circle {
  width: 120px;
  height: 120px;
  background-color: var(--uv-green); /* Modern Purple */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  font-family: sans-serif;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/* The "Edit" Hover State */
.edit-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20%; /* Only covers the bottom portion */
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-circle:hover .edit-overlay {
  opacity: 1;
}


.delete-trigger {
    cursor: pointer;




}



/* 1. The base state MUST be hidden */
.modal-overlay {
    display: none; /* This ensures it is hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Semi-transparent dark background */
    backdrop-filter: blur(4px); /* Modern blurred effect */
    z-index: 9999; /* Ensure it stays above everything */
    align-items: center;
    justify-content: center;
}

/* 2. Only show it when the 'active' class is added via JS */
.modal-overlay.active {
    display: flex; 
}

/* 3. Ensure the modal content itself has a solid background */
.modal-lg, .modal-content {
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    position: relative;
}


/* Container for the Split View */
.modal-lg {
    display: flex;
    flex-direction: row; /* Side-by-side layout */
    width: 90vw;
    max-width: 1000px;
    height: 80vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    animation: modalPop 0.3s ease-out;
}

/* Left Panel: Info & Buttons */
.modal-sidebar {
    width: 320px;
    padding: 2rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.modal-sidebar h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #1e293b;
}

.info-item {
    margin-bottom: 1.25rem;
}

.info-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.info-item span {
    font-size: 1rem;
    color: #0f172a;
    word-break: break-all;
}





/* Right Panel: The Iframe Preview */
.modal-main-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #334155; /* Dark background for the document viewer */
}

.iframe-header {
    background: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

#proof-iframe {
    flex: 1;
    border: none;
    max-width: 100%;
    height: 100%;
        overflow: hidden;
            white-space: nowrap;
}
/* Footer Buttons */
.modal-footer-btns {
    margin-top: auto; /* Pushes buttons to the bottom of sidebar */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Animation */
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Loading Overlay Wrapper */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95); /* Clean white background */
    z-index: 99999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(5px);
    
    /* Smooth fade out when logic is added */
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Use this class to hide the loader via JavaScript */
.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loader Content Container */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 450px; /* Keeps layout neat like the screenshot */
    padding: 20px;
}

.loader-content h3 {
    margin: 25px 0 10px 0;
    font-size: 1.4rem;
    color: #1e293b; /* Dark charcoal for the header */
    font-weight: 700;
}

.loader-content p {
    margin: 0;
    font-size: 1rem;
    color: #64748b; /* Soft gray for the descriptive text */
    line-height: 1.5;
}

/* Book Loader Logic (from Uiverse.io by vinodjangid07) */ 
.loader {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    --book-color: var(--amber-500);       /* Coral/Orange color from screenshot */
    --book-cover-color: #506c86; /* Slate gray base */
    margin-bottom: 10px;
}

.book {
    width: 120px; /* Slightly adjusted to fit text ratio beautifully */
    height: 12px;
    background-color: var(--book-color);
    border-bottom: 3px solid var(--book-cover-color);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
}

.page {
    width: 50%;
    height: 2px;
    background-color: var(--book-color);
    animation: paging 0.7s ease-out infinite;
    transform-origin: left;
}

.page2 {
    width: 50%;
    height: 2px;
    background-color: var(--book-color);
    animation: paging 0.8s ease-out infinite;
    transform-origin: left;
    position: absolute;
}

@keyframes paging {
    10% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(-180deg);
    }
}



/* Modal Styles Verify Payments */

/* Scoped Modal Component Overlays */
.cc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Modern dark translucent tint */
    backdrop-filter: blur(4px); /* Clean glassmorphic backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.cc-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Card */
.cc-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 360px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    transition: transform 0.2s ease-in-out;
    padding: 24px;
    box-sizing: border-box;
}

.cc-modal-overlay.active .cc-modal-card {
    transform: scale(1);
}

.cc-modal-body {
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}

/* SVG Icon Layouts */
.cc-icon-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.cc-modal-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.cc-modal-description {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Modal Action Control Buttons */
.cc-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cc-btn {
    width: 50%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
}

.cc-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.cc-btn-secondary:hover {
    background-color: #e2e8f0;
}

/* Dynamic State Colors handled natively */
.cc-btn-success {
    background-color: var(--uv-green);
    color: #ffffff;
}

.cc-btn-success:hover {
    background-color: #059669;
}

.cc-btn-danger {
    background-color: #ef4444;
    color: #ffffff;
}

.cc-btn-danger:hover {
    background-color: #dc2626;
}