/* ---------------- Agent Tabs ---------------- */
.agent-tabs {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px !important;
}

/* Tab Navigation */
.agent-tabs .tab-nav {
    display: flex;
    justify-content: flex-start;
    gap: 12px; /* space between tabs */
    list-style: none;
    margin: 0 0 25px;
    padding: 0;
    flex-wrap: wrap;
}

.agent-tabs .tab-nav li {
    flex: unset;
    min-width: 140px;
    text-align: center;
    padding: 12px 20px;
    cursor: pointer;
    color: #fff;
    background-color: #F07001;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    position: relative;
    font-size: 15px;
    font-weight: 500;
}

/* Hover effect */
.agent-tabs .tab-nav li:hover {
    background-color: #F07001;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(32,105,255,0.25);
}

/* Active Tab */
.agent-tabs .tab-nav li.active {
    background: #fff;
    color: #F07001;
    border: 2px solid #F07001;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Locked Tabs */
.agent-tabs .tab-nav li.locked {
    color: #bbb;
    background: #f2f2f2;
    cursor: not-allowed;
    opacity: 0.8;
    border: 1px dashed #ddd;
}
.agent-tabs .tab-nav li.locked:hover {
    transform: none;
    background: #f2f2f2;
    box-shadow: none;
    color: #999;
}

/* Tab Content */
.agent-tabs .tab-content {
    padding: 25px 30px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    border: 1px solid #eee;
    animation: fadeIn 0.4s ease-in-out;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.agent-tabs .tab-pane {
    display: none;
}
.agent-tabs .tab-pane.active {
    display: block;
}

/* Form Styles */
.agent-tabs form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agent-tabs input[type="text"],
.agent-tabs textarea,
.agent-tabs select {
    padding: 14px 16px;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafafa;
}

.agent-tabs input[type="text"]:focus,
.agent-tabs textarea:focus,
.agent-tabs select:focus {
    border-color: #2069ff;
    box-shadow: 0 0 6px rgba(32,105,255,0.25);
    outline: none;
    background: #fff;
}

/* Headings */
.agent-tabs h3 {
    font-size: 27px;
    color: black;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Paragraphs */
.agent-tabs p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}


.tab-buttons {
        display: flex;
    justify-content: flex-end;
    gap: 20px;
}
/* Animation */
@keyframes fadeIn {
    0% {opacity: 0; transform: translateY(10px);}
    100% {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
    .agent-tabs .tab-nav {
        flex-direction: column;
        gap: 10px;
    }
    .agent-tabs .tab-nav li {
        width: 100%;
    }
    .agent-tabs .tab-content {
        padding: 20px;
    }
}
/* Style the phone input with intl-tel-input */
.iti {
  width: 100%;
}

#business_phone {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

#business_phone:focus {
  border-color: #4A90E2;
  outline: none;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.4);
}

label[for="business_phone"] {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.iti__selected-flag {
  border-radius: 8px 0 0 8px;
}
.iti {
  width: 100%;
}
.iti__flag {
  background-size: contain !important;
}


/* Voice Button */

/* Container */
.custom-select {
    position: relative;
    font-family: "Segoe UI", Roboto, sans-serif;
    margin-bottom: 20px;
    width: 100% !important;
    margin-top: 10px;
}

/* Selected box */
.selected {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Options container */
.options {
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

/* Individual option */
.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.option:hover {
    background: #f1f5f9;
}

/* Play button */
.play-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
}


/* Phone Number Tabs */

.phone-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.phone-option {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.phone-option:hover {
    background: #e0f0ff;
}

.phone-option input[type="radio"] {
    display: none;
}

.phone-label {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    color: #333;
}

.phone-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}

.phone-option input[type="radio"]:checked + .phone-label::before {
    background: #007bff;
    border-color: #007bff;
}

.phone-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.phone-option input[type="radio"]:checked + .phone-label::after {
    transform: translateY(-50%) scale(1);
}
.tab-nav li.locked {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Loader spinner */
.loader {
  border: 2px solid #f3f3f3; /* Light gray */
  border-top: 2px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 6px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.custom-select {
  position: relative;
  width: 250px;
  cursor: pointer;
  user-select: none;
}

.custom-select .selected {
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
}

.custom-select .options {
  display: none;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select .options.show {
  display: block;
}

.custom-select .option {
  padding: 10px;
}

.custom-select .option:hover {
  background: #eee;
}


/* Phone Number  */

.phone-options {
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.phone-option {
    display: flex;
    align-items: center;
    background: #f8f9fb;
    border: 2px solid #ddd;
    border-radius: 8px;
    /* padding: 12px 16px; */
    cursor: pointer;
    transition: all 0.2s 
ease;
   
}

.phone-option input[type="radio"] {
  margin-right: 10px;
}

.phone-option:hover {
  border-color: #0073e6;
  background: #eef6ff;
}

.phone-option input[type="radio"]:checked + label {
  font-weight: 600;
  color: #0073e6;
}


.next-btn {
  background-color: #F07001!important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05) !important;
    color: #fff     !important;
    border: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;

}

.back-btn {
    background-color: #f0f0f0!important;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05) !important;
        color: #333     !important;
        border: none !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
}


.skip-btn {
    background-color: #f0f0f0!important;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05) !important;
        color: #333     !important;
        border: none !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.finish-btn{
   background-color: #2069ff!important;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05) !important;
        color: #fff     !important;
        border: none !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
}
#agent-settings-form textarea {
    width: 100%;       /* full width */
    height: 80px;      /* fixed height */
    resize: none;      /* disable manual resize */
    box-sizing: border-box;
}
#business-details-form textarea {
    width: 100%;       /* full width */
    height: 80px;      /* fixed height */
    resize: none;      /* disable manual resize */
    box-sizing: border-box;
}

.plus-button {
    background-color: #F07001!important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .05) !important;
    color: #fff     !important;
    border: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: 50% !important;
    width: 32px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.play-btn {
    border: none !important; /* remove border */
    background: transparent; /* optional, keeps background transparent always */
    padding: 0; /* optional, remove extra space */
}


.play-btn:hover,
.play-btn:focus,
.play-btn:active {
    background: transparent !important; /* prevent hover/active background */
    outline: none !important;                     /* remove focus outline */
}
.add-custom-field {
    margin-top: 10px !important;
   
}

/* Group layout */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Custom checkbox style */
/* Hide ALL raw checkboxes inside .custom-checkbox */
.custom-checkbox input[type="checkbox"] {
  appearance: none;   /* hide default OS checkbox */
  -webkit-appearance: none;
  -moz-appearance: none;
  display: none;      /* ensure hidden */
}
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  border: 2px solid #d0d5dd;
  border-radius: 15px;
  padding: 16px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hide real checkbox */
.custom-checkbox input {
  display: none !important;
}

/* Text default */
.custom-checkbox span {
  color: black;
  font-weight: 400;
}

/* Change border + text when input is checked */
.custom-checkbox:has(input:checked) {
  border-color: #F07001;
}

.custom-checkbox input:checked + span {
  color: #F07001;
  font-weight: 600;
}
