#callcenter-settings-panel {
  width: calc(100% - 2rem);
  max-width: 1540px;
  margin: 2.5rem auto 4rem;
  padding: 0;
  color: #ffffff;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  position: relative;
  transform: translateZ(0);
}

.ccs-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 2rem; 
  padding: 0 0 2rem; 
  border-bottom: 1px solid rgba(212,175,55,0.2); 
  position: relative;
}

.ccs-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

.ccs-header p { 
  margin: 0 0 .5rem; 
  color: #d4af37; 
  font-size: .75rem; 
  font-weight: 900; 
  letter-spacing: .2em; 
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.ccs-header h2 { 
  margin: 0; 
  color: #ffffff; 
  font-size: clamp(1.8rem, 4vw, 2.8rem); 
  letter-spacing: -.05em; 
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ccs-header span { 
  display: block; 
  max-width: 600px; 
  margin-top: .6rem; 
  color: #94a3b8; 
  font-size: .9rem; 
  line-height: 1.6; 
}

.ccs-header a { 
  padding: .8rem 1.5rem; 
  color: #0b111a; 
  background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%);
  border: none;
  border-radius: 0.5rem; 
  font-size: .8rem; 
  font-weight: 800; 
  text-decoration: none; 
  white-space: nowrap; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 15px rgba(212,175,55,0.2);
}

.ccs-header a:hover { 
  background: linear-gradient(135deg, #f1d570 0%, #d4af37 100%);
  box-shadow: 0 8px 25px rgba(212,175,55,0.35);
  transform: translateY(-2px);
}

/* Inner cards enhancements */
.ccs-card { 
  padding: 1.8rem; 
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 17, 26, 0.95) 100%);
  border: 1px solid rgba(30, 41, 59, 0.8); 
  border-radius: 1.25rem; 
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 30px -5px rgba(0,0,0,0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(0);
  will-change: transform;
}

.ccs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ccs-card:hover::before {
  opacity: 1;
}

.ccs-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.05);
}

/* Tabs Enhancements */
.ccs-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
  width: 100%;
}

.ccs-tabs-wrapper {
  width: 100%;
}

.ccs-tenant-picker {
  width: 100%;
  max-width: 400px;
}

.ccs-tabs { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 3rem; 
  margin: 0; 
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ccs-tabs button { 
  width: 100%;
  justify-content: center;
  padding: 1.5rem 2rem; 
  color: #94a3b8; 
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 1rem; 
  cursor: pointer; 
  font: inherit; 
  font-size: 1.1rem; 
  font-weight: 700; 
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ccs-tabs button:hover { 
  color: #ffffff; 
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 15px rgba(212,175,55,0.15);
}

.ccs-tabs button.active { 
  color: #0b111a; 
  background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%);
  border-color: transparent; 
  box-shadow: 0 8px 25px rgba(212,175,55,0.4), inset 0 2px 2px rgba(255,255,255,0.5);
  font-weight: 800;
  transform: translateY(-4px) scale(1.02);
}

/* Table Enhancements */
.ccs-table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
}

.ccs-card table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.ccs-card table th {
  color: #d4af37 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-size: 0.65rem !important;
  padding: 1.2rem 1rem !important;
  border-bottom: 1px solid rgba(212,175,55,0.2) !important;
  background: rgba(15, 23, 42, 0.6);
}

.ccs-card table td {
  padding: 1.2rem 1rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  color: #e2e8f0;
  transition: all 0.2s;
}

.ccs-card table tr {
  transition: all 0.2s;
}

.ccs-card table tr:hover td {
  background: rgba(212,175,55,0.05) !important;
  border-bottom-color: rgba(212,175,55,0.2) !important;
}

/* Inputs Enhancements */
.ccs-form input, .ccs-form select {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0.5rem;
  padding: 1rem 1.2rem !important;
  color: #fff;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  font-family: monospace;
  font-size: 0.85rem;
}

.ccs-form input:focus, .ccs-form select:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 15px rgba(212,175,55,0.2), inset 0 2px 5px rgba(0,0,0,0.5) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  outline: none;
}

/* Buttons Enhancements */
.ccs-form button[type="submit"] {
  background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%) !important;
  color: #0b111a !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 1.2rem !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 20px rgba(212,175,55,0.2), inset 0 1px 1px rgba(255,255,255,0.5) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.ccs-form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 30px rgba(212,175,55,0.35), inset 0 1px 1px rgba(255,255,255,0.5) !important;
  background: linear-gradient(135deg, #f1d570 0%, #d4af37 100%) !important;
}

.ccs-form button[type="submit"]::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg) translateY(-100%);
  transition: all 0.5s ease;
}

.ccs-form button[type="submit"]:hover::after {
  transform: rotate(45deg) translateY(100%);
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.ccs-metrics { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem; 
  margin-bottom: 2rem; 
}

.ccs-metrics > div, .ccs-card { 
  padding: 1.5rem; 
  background: rgba(15, 23, 42, 0.9); 
  border: 1px solid #1e293b; 
  border-radius: 0.75rem; 
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5);
  transition: all 0.3s;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ccs-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.ccs-metrics strong { 
  display: block; 
  margin-top: .5rem; 
  color: #ffffff; 
  font-size: 2rem; 
  letter-spacing: -.05em; 
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ccs-form input, .ccs-form select {
  background: rgba(11, 17, 26, 0.5);
  border: 1px solid #1e293b;
  border-radius: 0.5rem;
  padding: .9rem 1.1rem;
  color: #fff;
  transition: all 0.3s;
}

.ccs-form input:focus, .ccs-form select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.3);
  background: rgba(15, 23, 42, 0.9);
  outline: none;
}

.ccs-form button {
  background: linear-gradient(135deg, #d4af37 0%, #b5952f 100%);
  color: #0b111a;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(212,175,55,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.ccs-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(212,175,55,0.35);
  background: linear-gradient(135deg, #f1d570 0%, #d4af37 100%);
}

.ccs-badge {
  background: rgba(212,175,55,0.1);
  color: #d4af37;
  padding: .3rem .8rem;
  border-radius: 2rem;
  font-size: .7rem;
  font-weight: 900;
  border: 1px solid rgba(212,175,55,0.3);
  text-transform: uppercase;
}

.ccs-card table th {
  color: #d4af37;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: .65rem;
  padding: 1.2rem .8rem;
  border-bottom: 2px solid rgba(212,175,55,0.2);
  text-align: left;
}

.ccs-card table td {
  padding: 1.2rem .8rem;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
}

.ccs-card tr:hover td {
  background: rgba(212,175,55,0.03);
}

.ccs-small {
  background: rgba(212,175,55,0.1);
  color: #d4af37;
  border: 1px solid rgba(212,175,55,0.3);
  padding: .5rem 1rem;
  border-radius: .6rem;
  font-weight: 800;
}

.ccs-small:hover {
  background: #d4af37;
  color: #000;
}
.ccs-route { display: block; padding: .65rem; color: #d4af37; background: #0f172a; border: 1px solid #1e293b; border-radius: .5rem; font-size: .75rem; overflow-wrap: anywhere; }
.ccs-hash { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.ccs-assignment { margin-bottom: .8rem; border-color: rgba(212,175,55,0.3); }
.ccs-agent-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .55rem; }
.ccs-agent-checks label { display: flex; align-items: center; gap: .55rem; padding: .65rem; color: #ffffff; background: #0f172a; border: 1px solid #1e293b; border-radius: .55rem; cursor: pointer; transition: all 0.2s; }
.ccs-agent-checks label:hover { border-color: rgba(212,175,55,0.3); }
.ccs-agent-checks input { width: 1rem; height: 1rem; accent-color: #d4af37; }
.ccs-agent-checks strong, .ccs-agent-checks small { display: block; }
.ccs-agent-checks small { margin-top: .12rem; color: #64748b; font-size: .68rem; }
.ccs-agent-checks button { grid-column: 1 / -1; justify-self: start; min-height: 2.25rem; padding: .55rem .75rem; color: #ffffff; background: #d4af37; box-shadow: 0 0 15px rgba(212,175,55,0.4); border: 0; border-radius: .52rem; cursor: pointer; font-weight: 800; transition: all 0.2s; }
.ccs-agent-checks button:hover { background: #b5952f; }
/* =========================================
   KILL THE IPHONE UI IN THE CENTER COLUMN
   ========================================= */

/* Completely neutralize the iPhone hardware frame container */
.border-\[14px\].border-\[\#222222\] {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide the Notch */
.border-\[14px\].border-\[\#222222\] > .absolute.top-2 {
    display: none !important;
}

/* Hide the fake status bar (time/wifi/battery) */
.border-\[14px\].border-\[\#222222\] > .pt-4.px-8.pb-2 {
    display: none !important;
}

/* Hide the fake background image layers of the phone */
.border-\[14px\].border-\[\#222222\] > .absolute.inset-0.z-0 {
    display: none !important;
}

/* Reset the inner content wrapper to flow naturally */
.border-\[14px\].border-\[\#222222\] > .flex-1.relative.z-10 {
    position: static !important;
    width: 100% !important;
    height: auto !important;
}

/* Make the Avatar block look like the picture */
.text-4xl.font-light.text-white.truncate {
    font-size: 1.1rem !important;
    margin-top: 1rem !important;
    color: #f8fafc !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-4xl.font-light.text-white.truncate::before {
    content: "A";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 0.8rem auto;
    border-radius: 50%;
    background: #0ea5e9;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    border: 2px solid #0ea5e9;
    box-shadow: inset 0 0 0 4px #0a0a2a;
    position: relative;
}



/* Adjust the container height */
.flex.flex-col.items-center.mt-12.h-40 {
    margin-top: 2rem !important;
    height: auto !important;
}

/* Status text (Ready for calls) */
.text-base.font-normal.mt-2.text-amber-500\/90 {
    color: #10b981 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* Add 'No campaign running' */
.text-base.font-normal.mt-2.text-amber-500\/90::after {
    content: "• No campaign running";
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Re-layout the button wrappers */
.flex.justify-between.items-center.px-6.mb-8 {
    justify-content: center !important;
    gap: 1rem !important;
}

/* Change the flex-col wrapper to horizontal pill */
.flex.justify-between.items-center.px-6.mb-8 > div {
    flex-direction: row !important;
    border-radius: 0.5rem !important;
    padding: 0 !important;
    height: 40px !important;
    width: 140px !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer;
}

/* Base wrapper styling */
.flex.justify-between.items-center.px-6.mb-8 > div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0.5 !important;
    filter: grayscale(0.8) !important;
}

/* First button wrapper (Available) - Green Glassmorphism */
.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(1) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(1).active-btn {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(16, 185, 129, 0.1)) !important;
    border: 1px solid rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2), inset 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(1):hover {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(16, 185, 129, 0.2)) !important;
    border-color: rgba(16, 185, 129, 0.8) !important;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3), inset 0 0 20px rgba(16, 185, 129, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Second button wrapper (Pause) - Red Glassmorphism */
.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(2) {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05)) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(2).active-btn {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(239, 68, 68, 0.1)) !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3), inset 0 0 15px rgba(239, 68, 68, 0.2) !important;
}

.flex.justify-between.items-center.px-6.mb-8 > div:nth-child(2):hover {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(239, 68, 68, 0.2)) !important;
    border-color: rgba(239, 68, 68, 0.8) !important;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4), inset 0 0 20px rgba(239, 68, 68, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Make the actual <button> fill the wrapper but be transparent */
.w-\[72px\].h-\[72px\].rounded-full {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.w-\[72px\].h-\[72px\].rounded-full:hover {
    background: transparent !important;
}

/* Make the SVG smaller to match text */
.w-\[72px\].h-\[72px\].rounded-full svg {
    width: 18px !important;
    height: 18px !important;
    color: white !important;
}

/* Style the text inside the wrapper */
.flex.justify-between.items-center.px-6.mb-8 > div > span {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: white !important;
}

/* Injected Tailwind classes for Agent buttons */
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.text-emerald-400 { color: #34d399; }
.border-emerald-500\/50 { border-color: rgba(16, 185, 129, 0.5); }
.shadow-\[0_0_15px_rgba\(16\,185\,129\,0\.3\)\] { box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }

.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }
.text-rose-400 { color: #fb7185; }
.border-rose-500\/50 { border-color: rgba(244, 63, 94, 0.5); }
.shadow-\[0_0_15px_rgba\(244\,63\,94\,0\.3\)\] { box-shadow: 0 0 15px rgba(244, 63, 94, 0.3); }

.bg-\[\#2c2c2e\]\/50 { background-color: rgba(44, 44, 46, 0.5); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
/* Dynamic Avatar Status Dots */
.text-4xl.font-light.text-white.truncate::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #0a0a2a;
    top: 70px;
    margin-left: 60px;
    background: transparent;
}
.text-4xl.font-light.text-white.truncate.avatar-paused::after {
    background: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}
.text-4xl.font-light.text-white.truncate.avatar-avail::after {
    background: #10b981 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
