/* /Layout/MainLayout.razor.rz.scp.css */
/* IMPORT ROBOTO FONT */

/* VARIABLES */
:root[b-03ktu0wp63] {
    --primary: #4ca1afff;
    --primary-rgb: 76, 161, 175;
    --secondary: #848484ff;
    --text-dark: #2c3e50;
    --sidebar-width: 280px;
    /* GLASS UI SETTINGS (Desktop) */
    /* We mix the primary color into the glass for that "Primary Color Glass" look */
    --glass-bg: linear-gradient(135deg, rgba(76, 161, 175, 0.15), rgba(76, 161, 175, 0.05));
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    /* BODY BACKGROUND */
    /* A softer, flowing gradient that lets the glass elements pop */
    --body-bg: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

/* APP CONTAINER */
.app-container[b-03ktu0wp63] {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #f0f4f8; /* Fallback */
    background-image: radial-gradient(circle at 10% 20%, rgb(239, 246, 249) 0%, rgb(206, 239, 253) 90%);
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

/* SIDEBAR - MODERN GLASS */
.sidebar[b-03ktu0wp63] {
    width: var(--sidebar-width);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* THE STUNNING GLASS EFFECT */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo-header[b-03ktu0wp63] {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Subtle gradient separator */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    position: relative;
}

    /* Add a subtle shine to the logo area */
    .logo-header[b-03ktu0wp63]::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        right: 20%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    }

.logo-img[b-03ktu0wp63] {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.sidebar:hover .logo-img[b-03ktu0wp63] {
    transform: scale(1.05);
}

/* NAVIGATION LINKS */
.nav-menu[b-03ktu0wp63] {
    flex: 1;
    padding: 0 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-03ktu0wp63] .nav-link {
    color: var(--secondary); /* Default text color */
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    /* HOVER STATE - The "Primary Color Glass" Interaction */
    [b-03ktu0wp63] .nav-link:not(.active):hover {
        color: var(--primary);
        background: rgba(255, 255, 255, 0.6); /* Brighter hover background */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transform: translateX(5px);
        font-weight: 600;
    }

    /* ACTIVE STATE - Stamped Glass Look */
    [b-03ktu0wp63] .nav-link.active {
        background: var(--primary);
/*        color: white;*/
        box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.7);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

/* MAIN CONTENT AREA */
.main-content[b-03ktu0wp63] {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* TOP HEADER */
.top-header[b-03ktu0wp63] {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    /* Floating Header Glass */
/*    background: rgba(255, 255, 255, 0.7);*/
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 100;
}

.hamburger-btn[b-03ktu0wp63] {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

    .hamburger-btn:hover[b-03ktu0wp63] {
        transform: scale(1.1);
    }

.user-controls[b-03ktu0wp63] {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.user-name[b-03ktu0wp63] {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.logout-link[b-03ktu0wp63] {
    font-size: 0.9rem;
    color: var(--secondary);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

    .logout-link:hover[b-03ktu0wp63] {
        color: var(--primary);
        text-decoration: underline;
    }

/* CONTENT BODY */
.page-body[b-03ktu0wp63] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    /* Optional: Fade in animation for content */
    animation: fadeIn-b-03ktu0wp63 0.5s ease-out;
}

@keyframes fadeIn-b-03ktu0wp63 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .hamburger-btn[b-03ktu0wp63] {
        display: block;
    }

    .top-header[b-03ktu0wp63] {
        padding: 0 1.5rem;
    }

    .sidebar[b-03ktu0wp63] {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-110%);
        /* MOBILE SPECIFIC: Brighter glass as requested */
        background: rgba(255, 255, 255, 0.85); /* Much more white opacity */
        backdrop-filter: blur(25px) saturate(180%); /* Stronger blur for readability */
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border-right: 1px solid rgba(255, 255, 255, 0.9);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
    }

        .sidebar.mobile-open[b-03ktu0wp63] {
            transform: translateX(0);
        }

    .mobile-overlay[b-03ktu0wp63] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 62, 80, 0.3); /* Darker overlay for contrast */
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .mobile-overlay.show[b-03ktu0wp63] {
            display: block;
            opacity: 1;
        }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ettffz6db1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ettffz6db1] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ettffz6db1] {
    font-size: 1.1rem;
}

.bi[b-ettffz6db1] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ettffz6db1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ettffz6db1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ettffz6db1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ettffz6db1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ettffz6db1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ettffz6db1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ettffz6db1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ettffz6db1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ettffz6db1]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ettffz6db1] {
        display: none;
    }

    .collapse[b-ettffz6db1] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-ettffz6db1] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Admin/ConfirmDialog.razor.rz.scp.css */
/* Modern, app-consistent confirm dialog (scoped via CSS isolation) */
.confirm-overlay[b-7eh9x2zdc8] {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.confirm-dialog[b-7eh9x2zdc8] {
  width: min(520px, 92vw);
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1rem;

  /* Glass */
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  animation: confirm-pop-b-7eh9x2zdc8 140ms ease-out;
}

@keyframes confirm-pop-b-7eh9x2zdc8 {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.confirm-header[b-7eh9x2zdc8] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.confirm-title[b-7eh9x2zdc8] {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: 0.2px;
  color: var(--text-color, #334155);
}

.confirm-message[b-7eh9x2zdc8] {
  margin: 0.25rem 0 1rem;
  color: rgba(51, 65, 85, 0.9);
  line-height: 1.45;
  white-space: pre-wrap; /* allow \n in messages */
}

.confirm-actions[b-7eh9x2zdc8] {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

/* Use the app's existing button class names (these aren't global in app.css, so we style
   them here for this component too). */
.btn-glass-primary[b-7eh9x2zdc8] {
  background: rgba(var(--primary-rgb, 70, 150, 165), 0.95);
  border: none;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease,
    color 120ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
}

.btn-glass-primary:hover[b-7eh9x2zdc8] {
  background: rgba(var(--primary-rgb, 70, 150, 165), 1);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.btn-glass-primary:active[b-7eh9x2zdc8] {
  transform: translateY(1px);
}

.btn-glass-secondary[b-7eh9x2zdc8] {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--text-color, #334155);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease,
    color 120ms ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-glass-secondary:hover[b-7eh9x2zdc8] {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.btn-glass-secondary:active[b-7eh9x2zdc8] {
  transform: translateY(1px);
}

@media (max-width: 420px) {
  .confirm-actions[b-7eh9x2zdc8] {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .btn-glass-primary[b-7eh9x2zdc8],
  .btn-glass-secondary[b-7eh9x2zdc8] {
    width: 100%;
  }
}
/* /Pages/Admin/ManageBranches.razor.rz.scp.css */
/* =========================================
   1. PAGE CONTAINER & ANIMATIONS
   ========================================= */
.page-container[b-bnfv5awewi] {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-bnfv5awewi 0.6s ease-out;
}

@keyframes fadeIn-b-bnfv5awewi {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FIXED: Increased max-height to 4000px to prevent cutting off buttons on mobile */
@keyframes slideDown-b-bnfv5awewi {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 4000px;
  }
}

/* =========================================
   2. HEADER & TITLES
   ========================================= */
.header-section[b-bnfv5awewi] {
  margin-bottom: 2rem;
}

.page-title[b-bnfv5awewi] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* =========================================
   3. GLASS CARD (Main Container)
   ========================================= */
.glass-card[b-bnfv5awewi] {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 25px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow-x: auto;
}

.form-section[b-bnfv5awewi] {
  animation: slideDown-b-bnfv5awewi 0.4s ease-out forwards;
  /* We keep overflow hidden for the animation, but the huge max-height fixes the clip */
  overflow: hidden;
}

/* =========================================
   4. TOOLBAR (Search & Add)
   ========================================= */
.toolbar[b-bnfv5awewi] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-box[b-bnfv5awewi] {
  width: 300px;
}

/* =========================================
   5. FORM GRID
   ========================================= */
.form-grid[b-bnfv5awewi] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.form-group[b-bnfv5awewi] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-label[b-bnfv5awewi] {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 10px;
}

/* =========================================
   6. INPUT STYLES (Glass Pill)
   ========================================= */
.glass-input[b-bnfv5awewi] {
  border-radius: 30px;
  padding: 12px 20px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.glass-input:focus[b-bnfv5awewi] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.2);
  transform: translateY(-2px);
}

textarea.glass-input[b-bnfv5awewi] {
  border-radius: 20px;
  min-height: 100px;
  resize: vertical;
}

/* Manual Validation Style */
.glass-input.invalid-border[b-bnfv5awewi] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Validation Message */
[b-bnfv5awewi] .validation-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 15px;
  margin-top: 4px;
}

/* =========================================
   7. TABLE STYLES
   ========================================= */
.table-container[b-bnfv5awewi] {
  overflow-x: auto; /* Prevent horizontal spill at any width */
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.modern-table[b-bnfv5awewi] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: auto;
}

.modern-table thead th[b-bnfv5awewi] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr[b-bnfv5awewi] {
  transition: transform 0.2s ease;
}

.modern-table tbody tr:hover[b-bnfv5awewi] {
  transform: translateY(-1px);
}

.modern-table td[b-bnfv5awewi] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr:hover td[b-bnfv5awewi] {
  background: rgba(255, 255, 255, 0.95);
}

.modern-table tbody tr td:first-child[b-bnfv5awewi] {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.modern-table tbody tr td:last-child[b-bnfv5awewi] {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Status Badges */
.status-pill[b-bnfv5awewi] {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.active[b-bnfv5awewi] {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status-pill.inactive[b-bnfv5awewi] {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

/* Action Buttons */
.icon-btn[b-bnfv5awewi] {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
}

.icon-btn.edit[b-bnfv5awewi] {
  color: #3498db;
}

.icon-btn.edit:hover[b-bnfv5awewi] {
  background: rgba(52, 152, 219, 0.1);
  transform: scale(1.1);
}

.icon-btn.delete[b-bnfv5awewi] {
  color: #e74c3c;
}

.icon-btn.delete:hover[b-bnfv5awewi] {
  background: rgba(231, 76, 60, 0.1);
  transform: scale(1.1);
}

/* =========================================
   8. BUTTONS
   ========================================= */
.btn-glass-primary[b-bnfv5awewi] {
  background: var(--primary);
  color: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glass-primary:hover[b-bnfv5awewi] {
  transform: translateY(-2px);
  background: #43929f;
  color: white;
}

.btn-glass-secondary[b-bnfv5awewi] {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover[b-bnfv5awewi] {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: #333;
}

.action-bar[b-bnfv5awewi] {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .page-container[b-bnfv5awewi] {
    padding: 1rem;
  }

  .toolbar[b-bnfv5awewi] {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .search-box[b-bnfv5awewi] {
    width: 100%;
  }

  .btn-glass-primary[b-bnfv5awewi] {
    justify-content: center;
  }

  .form-grid[b-bnfv5awewi] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .span-col-2[b-bnfv5awewi] {
    grid-column: span 1;
  }

  .action-bar[b-bnfv5awewi] {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .btn-glass-secondary[b-bnfv5awewi],
  .btn-glass-primary[b-bnfv5awewi] {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .table-container[b-bnfv5awewi] {
    overflow-x: auto; /* Scroll only on small screens */
    padding-bottom: 10px;
  }
}
/* /Pages/Admin/ManageCar.razor.rz.scp.css */
/* =========================================
   1. PAGE CONTAINER & ANIMATIONS
   ========================================= */
.page-container[b-n3uo2c0ekg] {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-n3uo2c0ekg 0.6s ease-out;
}

@keyframes fadeIn-b-n3uo2c0ekg {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown-b-n3uo2c0ekg {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 4000px;
  }
}

/* =========================================
   2. HEADER & TITLES
   ========================================= */
.header-section[b-n3uo2c0ekg] {
  margin-bottom: 2rem;
}

.page-title[b-n3uo2c0ekg] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* =========================================
   3. GLASS CARD (Main Container)
   ========================================= */
.glass-card[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 25px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow-x: auto;
}

.form-section[b-n3uo2c0ekg] {
  animation: slideDown-b-n3uo2c0ekg 0.4s ease-out forwards;
  overflow: hidden;
}

/* =========================================
   4. UPLOAD & DOWNLOAD SECTION (Refined)
   ========================================= */
.upload-section[b-n3uo2c0ekg] {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Horizontal Center */
  align-items: center; /* Vertical Center */
  gap: 0.5rem; /* Generous gap between button and box */
  padding: 3rem; /* More breathing room inside the card */
}

.template-area[b-n3uo2c0ekg] {
  flex: 1; /* Take up equal space */
  display: flex;
  justify-content: flex-end; /* Push button towards the center */
  align-items: center;
}

.btn-download[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn-download:hover[b-n3uo2c0ekg] {
  background: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 161, 175, 0.2);
}

.upload-container[b-n3uo2c0ekg] {
  flex: 1; /* Take up equal space */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Start from the center gap */
  max-width: 450px; /* Prevent it from getting too wide */
}

.upload-box[b-n3uo2c0ekg] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(132, 132, 132, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
  width: 100%; /* Fill the max-width container */
}

.upload-box:hover[b-n3uo2c0ekg] {
  border-color: var(--primary);
  background: rgba(76, 161, 175, 0.05);
  transform: scale(1.02);
}

.upload-icon[b-n3uo2c0ekg] {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.upload-title[b-n3uo2c0ekg] {
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  font-size: 1.1rem;
}

.upload-subtitle[b-n3uo2c0ekg] {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0;
}

.upload-info[b-n3uo2c0ekg] {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  width: 100%;
}

/* =========================================
   5. TOOLBAR
   ========================================= */
.toolbar[b-n3uo2c0ekg] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-box[b-n3uo2c0ekg] {
  width: 300px;
}

/* =========================================
   6. FORM GRID
   ========================================= */
.form-grid[b-n3uo2c0ekg] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.form-group[b-n3uo2c0ekg] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.span-col-2[b-n3uo2c0ekg] {
  grid-column: span 2;
}

.form-label[b-n3uo2c0ekg] {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 10px;
}

/* =========================================
   7. INPUT STYLES (Glass Pill)
   ========================================= */
.glass-input[b-n3uo2c0ekg] {
  border-radius: 30px;
  padding: 12px 20px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.glass-input:focus[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.2);
  transform: translateY(-2px);
}

/* Manual Validation Style */
.glass-input.invalid-border[b-n3uo2c0ekg] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Validation Message */
[b-n3uo2c0ekg] .validation-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 15px;
  margin-top: 4px;
}
/* =========================================
   8. TABLE STYLES
   ========================================= */
.table-container[b-n3uo2c0ekg] {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.modern-table[b-n3uo2c0ekg] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: auto;
}

.modern-table thead th[b-n3uo2c0ekg] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr[b-n3uo2c0ekg] {
  transition: transform 0.2s ease;
}

.modern-table tbody tr:hover[b-n3uo2c0ekg] {
  transform: translateY(-1px);
}

.modern-table td[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr:hover td[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.95);
}

.modern-table tbody tr td:first-child[b-n3uo2c0ekg] {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.modern-table tbody tr td:last-child[b-n3uo2c0ekg] {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Status Badges */
.status-pill[b-n3uo2c0ekg] {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.active[b-n3uo2c0ekg] {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status-pill.inactive[b-n3uo2c0ekg] {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

/* Action Buttons */
.icon-btn[b-n3uo2c0ekg] {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
}

.icon-btn.edit[b-n3uo2c0ekg] {
  color: #3498db;
}

.icon-btn.edit:hover[b-n3uo2c0ekg] {
  background: rgba(52, 152, 219, 0.1);
  transform: scale(1.1);
}

.icon-btn.delete[b-n3uo2c0ekg] {
  color: #e74c3c;
}

.icon-btn.delete:hover[b-n3uo2c0ekg] {
  background: rgba(231, 76, 60, 0.1);
  transform: scale(1.1);
}

.icon-btn.view[b-n3uo2c0ekg] {
  color: var(--primary);
}

.icon-btn.view:hover[b-n3uo2c0ekg] {
  background: rgba(76, 161, 175, 0.1);
  transform: scale(1.1);
}

/* =========================================
   9. BUTTONS
   ========================================= */
.btn-glass-primary[b-n3uo2c0ekg] {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glass-primary:hover[b-n3uo2c0ekg] {
  transform: translateY(-2px);
  background: #43929f;
  color: white;
}

.btn-glass-secondary[b-n3uo2c0ekg] {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover[b-n3uo2c0ekg] {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: #333;
}

.action-bar[b-n3uo2c0ekg] {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .page-container[b-n3uo2c0ekg] {
    padding: 1rem;
  }

  /* Stack the upload section */
  .upload-section[b-n3uo2c0ekg] {
    flex-direction: column-reverse; /* Upload box on top, button below */
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .template-area[b-n3uo2c0ekg],
  .upload-container[b-n3uo2c0ekg] {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .upload-container[b-n3uo2c0ekg] {
    max-width: 100%;
  }

  .btn-download[b-n3uo2c0ekg] {
    width: 100%;
    justify-content: center;
  }

  .toolbar[b-n3uo2c0ekg] {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .search-box[b-n3uo2c0ekg] {
    width: 100%;
  }

  .btn-glass-primary[b-n3uo2c0ekg] {
    justify-content: center;
  }

  .form-grid[b-n3uo2c0ekg] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .span-col-2[b-n3uo2c0ekg] {
    grid-column: span 1;
  }

  .action-bar[b-n3uo2c0ekg] {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .btn-glass-secondary[b-n3uo2c0ekg],
  .btn-glass-primary[b-n3uo2c0ekg] {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .table-container[b-n3uo2c0ekg] {
    overflow-x: auto;
    padding-bottom: 10px;
  }
}
/* /Pages/Admin/ManageCarClassDamage.razor.rz.scp.css */
/* =========================================
   CONTAINER & LAYOUT
   ========================================= */
.page-container[b-vuss2m0bb1] {
    padding: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    animation: fadeIn-b-vuss2m0bb1 0.6s ease-out;
}

@keyframes fadeIn-b-vuss2m0bb1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   HEADER
   ========================================= */
.header-section[b-vuss2m0bb1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.page-title[b-vuss2m0bb1] {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary);
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* =========================================
   GLASS CARD
   ========================================= */
.glass-card[b-vuss2m0bb1] {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Needed for overlay positioning */
}

    .glass-card:hover[b-vuss2m0bb1] {
        box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    }

/* =========================================
   FILTER GRID
   ========================================= */
.filter-grid[b-vuss2m0bb1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group[b-vuss2m0bb1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.span-col-2[b-vuss2m0bb1] {
    grid-column: span 2;
}

.filter-label[b-vuss2m0bb1] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

/* =========================================
   INPUTS & BUTTONS
   ========================================= */
.glass-input[b-vuss2m0bb1] {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 10px 15px;
    color: #2c3e50;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .glass-input:focus[b-vuss2m0bb1] {
        background: rgba(255, 255, 255, 0.95);
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(76, 161, 175, 0.15);
    }

.btn-glass-action[b-vuss2m0bb1] {
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--secondary);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-glass-action:hover[b-vuss2m0bb1] {
        background: #fff;
        color: var(--primary); /* Changed to primary for back button */
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

/* =========================================
   TABLE STYLES
   ========================================= */
.table-container[b-vuss2m0bb1] {
    overflow-x: auto;
    width: 100%;
    min-height: 200px; /* Ensures minimum height for loader */
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Loading Overlay Styles (Missing in your reference) */
.with-loading-overlay[b-vuss2m0bb1] {
    position: relative;
}

.table-loading-overlay[b-vuss2m0bb1] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.table-loading-overlay-inner[b-vuss2m0bb1] {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.modern-table[b-vuss2m0bb1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: -8px;
    table-layout: auto;
}

    .modern-table thead th[b-vuss2m0bb1] {
        font-weight: 600;
        color: var(--secondary);
        padding: 1rem 1.5rem;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 1px;
        border: none;
        text-align: center;
        white-space: nowrap;
    }

    .modern-table tbody tr[b-vuss2m0bb1] {
        transition: transform 0.2s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

        .modern-table tbody tr:hover[b-vuss2m0bb1] {
            transform: translateY(-1px);
            z-index: 10;
            position: relative;
        }

    .modern-table td[b-vuss2m0bb1] {
        background: rgba(255, 255, 255, 0.5);
        padding: 1.2rem 1.5rem;
        border: none;
        color: #444;
        font-weight: 500;
        vertical-align: middle;
        text-align: center;
        white-space: nowrap;
    }

    .modern-table tbody tr:hover td[b-vuss2m0bb1] {
        background: rgba(255, 255, 255, 0.95);
    }

    .modern-table tbody tr td:first-child[b-vuss2m0bb1] {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .modern-table tbody tr td:last-child[b-vuss2m0bb1] {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

/* =========================================
   MISC ELEMENTS
   ========================================= */
.status-pill[b-vuss2m0bb1] {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(76, 161, 175, 0.15);
    color: var(--primary);
    display: inline-block;
}

/* =========================================
   PAGINATION
   ========================================= */
.pagination-bar[b-vuss2m0bb1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-controls[b-vuss2m0bb1] {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
}

    .pagination-controls button[b-vuss2m0bb1] {
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 8px 16px;
        border-radius: 8px;
        color: var(--primary);
        font-weight: 600;
        transition: all 0.2s;
        cursor: pointer;
    }

        .pagination-controls button:disabled[b-vuss2m0bb1] {
            opacity: 0.5;
            cursor: not-allowed;
            background: rgba(200, 200, 200, 0.2);
        }

        .pagination-controls button:not(:disabled):hover[b-vuss2m0bb1] {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 10px rgba(76, 161, 175, 0.3);
        }

    .pagination-controls span[b-vuss2m0bb1] {
        margin: 0 10px;
        color: var(--secondary);
        font-weight: 500;
    }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .table-container[b-vuss2m0bb1] {
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .page-container[b-vuss2m0bb1] {
        padding: 10px;
    }

    .span-col-2[b-vuss2m0bb1] {
        grid-column: span 1;
    }

    .filter-grid[b-vuss2m0bb1] {
        grid-template-columns: 1fr;
    }

    /* Stack pagination on mobile */
    .pagination-bar[b-vuss2m0bb1] {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-controls[b-vuss2m0bb1] {
        justify-content: center;
        width: 100%;
    }

        .pagination-controls button[b-vuss2m0bb1] {
            flex: 1;
        }
}
/* /Pages/Admin/ManageCarClasses.razor.rz.scp.css */
/* =========================================
   1. PAGE CONTAINER & ANIMATIONS
   ========================================= */
.page-container[b-debuk5iegf] {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-debuk5iegf 0.6s ease-out;
}

@keyframes fadeIn-b-debuk5iegf {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown-b-debuk5iegf {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 4000px;
  }
}

/* =========================================
   2. HEADER & TITLES
   ========================================= */
.header-section[b-debuk5iegf] {
  margin-bottom: 2rem;
}

.page-title[b-debuk5iegf] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* =========================================
   3. GLASS CARD (Main Container)
   ========================================= */
.glass-card[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 25px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow-x: auto;
}

.form-section[b-debuk5iegf] {
  animation: slideDown-b-debuk5iegf 0.4s ease-out forwards;
  overflow: hidden;
}

/* =========================================
   4. UPLOAD & DOWNLOAD SECTION (Refined)
   ========================================= */
.upload-section[b-debuk5iegf] {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Horizontal Center */
  align-items: center; /* Vertical Center */
  gap: 0.5rem; /* Generous gap between button and box */
  padding: 3rem; /* More breathing room inside the card */
}

.template-area[b-debuk5iegf] {
  flex: 1; /* Take up equal space */
  display: flex;
  justify-content: flex-end; /* Push button towards the center */
  align-items: center;
}

.btn-download[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn-download:hover[b-debuk5iegf] {
  background: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 161, 175, 0.2);
}

.upload-container[b-debuk5iegf] {
  flex: 1; /* Take up equal space */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Start from the center gap */
  max-width: 450px; /* Prevent it from getting too wide */
}

.upload-box[b-debuk5iegf] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(132, 132, 132, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
  width: 100%; /* Fill the max-width container */
}

.upload-box:hover[b-debuk5iegf] {
  border-color: var(--primary);
  background: rgba(76, 161, 175, 0.05);
  transform: scale(1.02);
}

.upload-icon[b-debuk5iegf] {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.upload-title[b-debuk5iegf] {
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  font-size: 1.1rem;
}

.upload-subtitle[b-debuk5iegf] {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0;
}

.upload-info[b-debuk5iegf] {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  width: 100%;
}

/* =========================================
   5. TOOLBAR
   ========================================= */
.toolbar[b-debuk5iegf] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-box[b-debuk5iegf] {
  width: 300px;
}

/* =========================================
   6. FORM GRID
   ========================================= */
.form-grid[b-debuk5iegf] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.form-group[b-debuk5iegf] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.span-col-2[b-debuk5iegf] {
  grid-column: span 2;
}

.form-label[b-debuk5iegf] {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 10px;
}

/* =========================================
   7. INPUT STYLES (Glass Pill)
   ========================================= */
.glass-input[b-debuk5iegf] {
  border-radius: 30px;
  padding: 12px 20px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.glass-input:focus[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.2);
  transform: translateY(-2px);
}

/* Manual Validation Style */
.glass-input.invalid-border[b-debuk5iegf] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Validation Message */
[b-debuk5iegf] .validation-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 15px;
  margin-top: 4px;
}
/* =========================================
   8. TABLE STYLES
   ========================================= */
.table-container[b-debuk5iegf] {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.modern-table[b-debuk5iegf] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: auto;
}

.modern-table thead th[b-debuk5iegf] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr[b-debuk5iegf] {
  transition: transform 0.2s ease;
}

.modern-table tbody tr:hover[b-debuk5iegf] {
  transform: translateY(-1px);
}

.modern-table td[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr:hover td[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.95);
}

.modern-table tbody tr td:first-child[b-debuk5iegf] {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.modern-table tbody tr td:last-child[b-debuk5iegf] {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Status Badges */
.status-pill[b-debuk5iegf] {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.active[b-debuk5iegf] {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status-pill.inactive[b-debuk5iegf] {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

/* Action Buttons */
.icon-btn[b-debuk5iegf] {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
}

.icon-btn.edit[b-debuk5iegf] {
  color: #3498db;
}

.icon-btn.edit:hover[b-debuk5iegf] {
  background: rgba(52, 152, 219, 0.1);
  transform: scale(1.1);
}

.icon-btn.delete[b-debuk5iegf] {
  color: #e74c3c;
}

.icon-btn.delete:hover[b-debuk5iegf] {
  background: rgba(231, 76, 60, 0.1);
  transform: scale(1.1);
}

.icon-btn.view[b-debuk5iegf] {
  color: var(--primary);
}

.icon-btn.view:hover[b-debuk5iegf] {
  background: rgba(76, 161, 175, 0.1);
  transform: scale(1.1);
}

/* =========================================
   9. BUTTONS
   ========================================= */
.btn-glass-primary[b-debuk5iegf] {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glass-primary:hover[b-debuk5iegf] {
  transform: translateY(-2px);
  background: #43929f;
  color: white;
}

.btn-glass-secondary[b-debuk5iegf] {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover[b-debuk5iegf] {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: #333;
}

.action-bar[b-debuk5iegf] {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* =========================================
   10. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .page-container[b-debuk5iegf] {
    padding: 1rem;
  }

  /* Stack the upload section */
  .upload-section[b-debuk5iegf] {
    flex-direction: column-reverse; /* Upload box on top, button below */
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .template-area[b-debuk5iegf],
  .upload-container[b-debuk5iegf] {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .upload-container[b-debuk5iegf] {
    max-width: 100%;
  }

  .btn-download[b-debuk5iegf] {
    width: 100%;
    justify-content: center;
  }

  .toolbar[b-debuk5iegf] {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .search-box[b-debuk5iegf] {
    width: 100%;
  }

  .btn-glass-primary[b-debuk5iegf] {
    justify-content: center;
  }

  .form-grid[b-debuk5iegf] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .span-col-2[b-debuk5iegf] {
    grid-column: span 1;
  }

  .action-bar[b-debuk5iegf] {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .btn-glass-secondary[b-debuk5iegf],
  .btn-glass-primary[b-debuk5iegf] {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .table-container[b-debuk5iegf] {
    overflow-x: auto;
    padding-bottom: 10px;
  }
}
/* /Pages/Admin/ManageCompanies.razor.rz.scp.css */
/* CONTAINER & ANIMATION */
.page-container[b-417izf6wxp] {
  padding: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-417izf6wxp 0.6s ease-out;
}

@keyframes fadeIn-b-417izf6wxp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER SECTION */
.header-section[b-417izf6wxp] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.page-title[b-417izf6wxp] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* GLASS CARD CONTAINER */
.glass-card[b-417izf6wxp] {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover[b-417izf6wxp] {
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* FORM GRID LAYOUT */
.form-grid[b-417izf6wxp] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group[b-417izf6wxp] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label[b-417izf6wxp] {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

/* INPUT STYLES */
.glass-input[b-417izf6wxp] {
  border-radius: 30px;
  padding: 12px 20px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.glass-input:focus[b-417izf6wxp] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.2);
  transform: translateY(-2px);
}

/* Manual Validation Style */
.glass-input.invalid-border[b-417izf6wxp] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Validation Message */
[b-417izf6wxp] .validation-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 15px;
  margin-top: 4px;
}

/* Text area specific */
textarea.glass-input[b-417izf6wxp] {
  min-height: 100px;
  resize: vertical;
}

/* File Input specific styling */
[b-417izf6wxp] input[type="file"].glass-input {
  padding: 8px;
  cursor: pointer;
}

[b-417izf6wxp] input[type="file"]::file-selector-button {
  background: rgba(76, 161, 175, 0.1);
  border: none;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 6px;
  margin-right: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

[b-417izf6wxp] input[type="file"]::file-selector-button:hover {
  background: rgba(76, 161, 175, 0.2);
}

/* IMAGE PREVIEW */
.logo-preview-box[b-417izf6wxp] {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed var(--secondary);
  border-radius: 12px;
  padding: 10px;
  height: 120px;
  width: 120px;
  overflow: hidden;
  position: relative;
}

.logo-img[b-417izf6wxp] {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-img-loading[b-417izf6wxp] {
  opacity: 0;
}

.logo-loading-overlay[b-417izf6wxp] {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.no-logo-text[b-417izf6wxp] {
  color: var(--secondary);
  font-size: 0.8rem;
  font-style: italic;
}

.field-help-text[b-417izf6wxp] {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-left: 4px;
  opacity: 0.9;
}

/* BUTTONS */
.action-bar[b-417izf6wxp] {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-glass-primary[b-417izf6wxp] {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glass-primary:hover[b-417izf6wxp] {
  transform: translateY(-2px);
  background: #43929f;
  color: white;
}

.btn-glass-secondary[b-417izf6wxp] {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover[b-417izf6wxp] {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: #333;
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .page-container[b-417izf6wxp] {
    padding: 0.5rem;
  }

  .form-grid[b-417izf6wxp] {
    grid-template-columns: 1fr;
  }

  .action-bar[b-417izf6wxp] {
    flex-direction: column-reverse;
  }

  .btn-glass-primary[b-417izf6wxp],
  .btn-glass-secondary[b-417izf6wxp] {
    width: 100%;
    text-align: center;
  }
}
/* /Pages/Admin/ManageInspections.razor.rz.scp.css */
/* CONTAINER & LAYOUT */
.page-container[b-j9vt4i8kcj] {
  padding: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-j9vt4i8kcj 0.6s ease-out;
}

@keyframes fadeIn-b-j9vt4i8kcj {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
.header-section[b-j9vt4i8kcj] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.page-title[b-j9vt4i8kcj] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* GLASS CARD */
.glass-card[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover[b-j9vt4i8kcj] {
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* FILTER SECTION - RESPONSIVE GRID */
.filter-grid[b-j9vt4i8kcj] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.filter-group[b-j9vt4i8kcj] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Specific class for the search bar to span 2 columns only on desktop */
.span-col-2[b-j9vt4i8kcj] {
  grid-column: span 2;
}

.filter-label[b-j9vt4i8kcj] {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

/* CUSTOM INPUTS */
.glass-input[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 10px 15px;
  color: #2c3e50;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  outline: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.glass-input:focus[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 161, 175, 0.15);
}

/* BUTTONS */
.btn-glass-action[b-j9vt4i8kcj] {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--secondary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-glass-action:hover[b-j9vt4i8kcj] {
  background: #fff;
  color: #e74c3c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* TABLE SECTION */
.table-container[b-j9vt4i8kcj] {
  overflow-x: visible;
  width: 100%;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
  .table-container[b-j9vt4i8kcj] {
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

.modern-table[b-j9vt4i8kcj] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: fixed; /* force equal column widths */
}

.modern-table thead th[b-j9vt4i8kcj] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: auto;
}

.modern-table thead th[b-j9vt4i8kcj] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr[b-j9vt4i8kcj] {
  transition: transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modern-table tbody tr:hover[b-j9vt4i8kcj] {
  transform: scale(1.005);
  z-index: 10;
  position: relative;
}

.modern-table td[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

/* Ensure equal column widths when using fixed table layout */
.modern-table thead th[b-j9vt4i8kcj],
.modern-table tbody td[b-j9vt4i8kcj] {
  width: calc(100% / 6);
}
.modern-table tbody tr:hover[b-j9vt4i8kcj] {
  transform: translateY(-1px);
  z-index: 10;
  position: relative;
}

.modern-table td[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: normal; /* allow wrapping so columns evenly sized */
  overflow: hidden;
  text-overflow: ellipsis;
}

.modern-table tbody tr:hover td[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.95);
}

.modern-table tbody tr td:first-child[b-j9vt4i8kcj] {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.modern-table tbody tr td:last-child[b-j9vt4i8kcj] {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Status Pill */
.status-pill[b-j9vt4i8kcj] {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(76, 161, 175, 0.15);
  color: var(--primary);
  display: inline-block;
}

/* ROW CLICK */
.clickable-row[b-j9vt4i8kcj] {
  cursor: pointer;
}

.clickable-row:focus[b-j9vt4i8kcj],
.clickable-row:hover[b-j9vt4i8kcj] {
  outline: 2px solid rgba(76, 161, 175, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

/* DETAILS POPUP (MODAL) */
.details-overlay[b-j9vt4i8kcj] {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.details-dialog[b-j9vt4i8kcj] {
  width: min(820px, 96vw);
  max-height: 86vh;
  overflow: auto;
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1rem;

  /* Glass */
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  animation: details-pop-b-j9vt4i8kcj 140ms ease-out;
}

@keyframes details-pop-b-j9vt4i8kcj {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.details-header[b-j9vt4i8kcj] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.details-title[b-j9vt4i8kcj] {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.2px;
  color: var(--text-color, #334155);
}

.details-close[b-j9vt4i8kcj] {
  border: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(51, 65, 85, 0.9);
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.details-close:hover[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.details-close:active[b-j9vt4i8kcj] {
  transform: translateY(1px);
}

.details-grid[b-j9vt4i8kcj] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.details-item[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.details-label[b-j9vt4i8kcj] {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.details-value[b-j9vt4i8kcj] {
  color: rgba(51, 65, 85, 0.95);
  font-weight: 600;
  word-break: break-word;
}

.mono[b-j9vt4i8kcj] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .details-grid[b-j9vt4i8kcj] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .details-grid[b-j9vt4i8kcj] {
    grid-template-columns: 1fr;
  }
}

/* PAGINATION */
.pagination-bar[b-j9vt4i8kcj] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-controls[b-j9vt4i8kcj] {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.pagination-controls button[b-j9vt4i8kcj] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.2s;
}

.pagination-controls button:disabled[b-j9vt4i8kcj] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-controls button:not(:disabled):hover[b-j9vt4i8kcj] {
  background: var(--primary);
  color: white;
}

.pagination-controls span[b-j9vt4i8kcj] {
  margin: 0 15px;
  color: var(--secondary);
  font-weight: 500;
}

/* =========================================
   MOBILE RESPONSIVENESS (Max Width 768px)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Make cards take up ~95% of screen */
  .page-container[b-j9vt4i8kcj] {
    padding: 0.1rem; /* Reduced padding creates wider cards */
  }

  /* 2. Stack filters */
  .span-col-2[b-j9vt4i8kcj] {
    grid-column: span 1;
  }

  .filter-grid[b-j9vt4i8kcj] {
    grid-template-columns: 1fr;
  }

  /* 3. Stack Pagination Vertically */
  .pagination-bar[b-j9vt4i8kcj] {
    flex-direction: column;
    align-items: stretch; /* Forces children to full width */
    gap: 15px;
  }

  .pagination-controls[b-j9vt4i8kcj] {
    flex-direction: column; /* Stack buttons vertically */
    width: 100%;
    gap: 10px;
  }

  .pagination-controls button[b-j9vt4i8kcj] {
    width: 100%; /* Full width buttons */
    padding: 10px;
    display: flex;
    justify-content: center;
  }

  .pagination-controls span[b-j9vt4i8kcj] {
    margin: 5px 0;
    text-align: center;
  }
}
/* /Pages/Admin/ManageUsers.razor.rz.scp.css */
/* =========================================
   1. PAGE CONTAINER & ANIMATIONS
   ========================================= */
.page-container[b-l7x296s0e6] {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeIn-b-l7x296s0e6 0.6s ease-out;
}

@keyframes fadeIn-b-l7x296s0e6 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown-b-l7x296s0e6 {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 4000px;
  }
}

/* =========================================
   2. HEADER & TITLES
   ========================================= */
.header-section[b-l7x296s0e6] {
  margin-bottom: 2rem;
}

.page-title[b-l7x296s0e6] {
  font-size: 2rem;
  font-weight: 300;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* =========================================
   3. GLASS CARD (Main Container)
   ========================================= */
.glass-card[b-l7x296s0e6] {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  border-radius: 25px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow-x: auto;
}

.form-section[b-l7x296s0e6] {
  animation: slideDown-b-l7x296s0e6 0.4s ease-out forwards;
  overflow: hidden;
}

/* =========================================
   4. TOOLBAR (Search & Add)
   ========================================= */
.toolbar[b-l7x296s0e6] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-box[b-l7x296s0e6] {
  width: 300px;
}

/* =========================================
   5. FORM GRID
   ========================================= */
.form-grid[b-l7x296s0e6] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.form-group[b-l7x296s0e6] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.span-col-2[b-l7x296s0e6] {
  grid-column: span 2;
}

.form-label[b-l7x296s0e6] {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 10px;
}

/* Checkbox styling */
.checkbox-group[b-l7x296s0e6] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  width: fit-content;
}

/* =========================================
   6. INPUT STYLES (Glass Pill)
   ========================================= */
.glass-input[b-l7x296s0e6] {
  border-radius: 30px;
  padding: 12px 20px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.glass-input:focus[b-l7x296s0e6] {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.2);
  transform: translateY(-2px);
}

/* Manual Validation Style */
.glass-input.invalid-border[b-l7x296s0e6] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

/* Validation Message */
[b-l7x296s0e6] .validation-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 15px;
  margin-top: 4px;
}

/* =========================================
   International Phone Input Styling
   ========================================= */
[b-l7x296s0e6] .iti {
  width: 100%;
  display: block;
}

/* Style the phone input to match glass inputs */
[b-l7x296s0e6] .iti input {
  width: 100%;
  padding-left: 52px !important;
}

/* Style the flag dropdown button */
[b-l7x296s0e6] .iti__selected-flag {
  background: transparent !important;
  border: none !important;
  padding-left: 12px;
}

/* Ensure country dropdown shows above other elements */
[b-l7x296s0e6] .iti__country-list {
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-height: 200px;
}

/* Style individual country items */
[b-l7x296s0e6] .iti__country {
  padding: 8px 12px;
  transition: background 0.2s;
}

[b-l7x296s0e6] .iti__country:hover {
  background: rgba(76, 161, 175, 0.1);
}

[b-l7x296s0e6] .iti__country.iti__highlight {
  background: rgba(76, 161, 175, 0.15);
}

/* Dial code styling */
[b-l7x296s0e6] .iti__selected-dial-code {
  color: var(--secondary);
  font-weight: 600;
  margin-left: 4px;
}

/* =========================================
   7. TABLE STYLES
   ========================================= */
.table-container[b-l7x296s0e6] {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.modern-table[b-l7x296s0e6] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
  table-layout: auto;
}

.modern-table thead th[b-l7x296s0e6] {
  font-weight: 600;
  color: var(--secondary);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr[b-l7x296s0e6] {
  transition: transform 0.2s ease;
}

.modern-table tbody tr:hover[b-l7x296s0e6] {
  transform: translateY(-1px);
}

.modern-table td[b-l7x296s0e6] {
  background: rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  border: none;
  color: #444;
  font-weight: 500;
  transition: background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.modern-table tbody tr:hover td[b-l7x296s0e6] {
  background: rgba(255, 255, 255, 0.95);
}

.modern-table tbody tr td:first-child[b-l7x296s0e6] {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.modern-table tbody tr td:last-child[b-l7x296s0e6] {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Status Badges */
.status-pill[b-l7x296s0e6] {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.active[b-l7x296s0e6] {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.status-pill.inactive[b-l7x296s0e6] {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

/* Action Buttons */
.icon-btn[b-l7x296s0e6] {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
}

.icon-btn.edit[b-l7x296s0e6] {
  color: #3498db;
}

.icon-btn.edit:hover[b-l7x296s0e6] {
  background: rgba(52, 152, 219, 0.1);
  transform: scale(1.1);
}

.icon-btn.delete[b-l7x296s0e6] {
  color: #e74c3c;
}

.icon-btn.delete:hover[b-l7x296s0e6] {
  background: rgba(231, 76, 60, 0.1);
  transform: scale(1.1);
}

/* =========================================
   8. BUTTONS
   ========================================= */
.btn-glass-primary[b-l7x296s0e6] {
  background: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 161, 175, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-glass-primary:hover[b-l7x296s0e6] {
  transform: translateY(-2px);
  background: #43929f;
  color: white;
}

.btn-glass-secondary[b-l7x296s0e6] {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass-secondary:hover[b-l7x296s0e6] {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: #333;
}

.action-bar[b-l7x296s0e6] {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .page-container[b-l7x296s0e6] {
    padding: 1rem;
  }

  .toolbar[b-l7x296s0e6] {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .search-box[b-l7x296s0e6] {
    width: 100%;
  }

  .btn-glass-primary[b-l7x296s0e6] {
    justify-content: center;
  }

  .form-grid[b-l7x296s0e6] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .span-col-2[b-l7x296s0e6] {
    grid-column: span 1;
  }

  .action-bar[b-l7x296s0e6] {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .btn-glass-secondary[b-l7x296s0e6],
  .btn-glass-primary[b-l7x296s0e6] {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .table-container[b-l7x296s0e6] {
    overflow-x: auto;
    padding-bottom: 10px;
  }
}
