:root {
    --bg: #f7f8fc;
    --panel: #ffffff;
    --text: #263238;
    --muted: #73808c;
    --border: #e6e8ef;
    --primary: #2b66ff;
    --success: #C1DCA7;
    --success-ink: #2C2828;
    --danger: #F78288;
    --danger-ink: #000000;
    --hold: #9EDDDA;
    --hold-ink: #000000;
    --radius: 12px;
    --radius-pill: 999px;
    --shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  }
  
  /* RESET + BASE */

  /* ===== FILTER BAR ===== */
  .filters-bar {
    background: transparent;
    padding: 12px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
  }
  .filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }
  .filter-input,
  .filter-input {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    padding: 6px 12px;
    flex: 1;
    min-width: 160px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border 0.2s ease;
  }
  .filter-input:focus-within,
  .filter-input:focus-within {
    border-color: var(--primary);
  }
  .filter-input .icon,
  .filter-input .icon {
    color: #98a2b3;
    margin-right: 8px;
    flex-shrink: 0;
    display: flex;
  }
  .filter-input input,
  .filter-input  select,
  .filter-input  .choices{
    width: 85%;
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
    color: #333;
  }

  .filter-input  .choices .choices__inner{
    background-color: transparent;
    border: 0px;
  }

  .filter-input input::placeholder,
  .filter-input select::placeholder {
    color: #98a2b3;
  }
  .filter-input select {
    appearance: none;
    cursor: pointer;
    padding-right: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
  }
  
  /* ===== TABLE WRAPPER ===== */
  .table-wrap {
    max-width: 1260px;
    margin: 20px auto;
    padding: 0 16px;
  }
  .table-title {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 14px;
  }
  
  /* ===== DATA TABLE ===== */
  .data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 50px;
  }
  .data-table thead {
    background: #EEF0FD;
  }
  .data-table thead th {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .data-table thead th:first-child {
    padding-left: 24px;
  }
  .data-table thead th:last-child {
    padding-right: 24px;
  }
  .data-table tbody tr td{
    border-right: 1px solid var(--border);
  }
  .data-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
  }
  .data-table tbody tr:hover td {
    background: #fafbff;
  }
  .data-table tbody td {
    padding: 12px 20px;
    font-size: 12px;
    vertical-align: middle;
  }
  .data-table tbody td:first-child {
    padding-left: 24px;
  }
  .data-table tbody td:last-child {
    padding-right: 24px;
  }

  .last-column{
    width: 30%;
    text-align: center;
  }
  
  /* ===== LINKS & ICONS ===== */
 
  .link:hover {
    text-decoration: underline;
  }
  .avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #667085;
    border: 1px solid #e7e7ee;
    object-fit: cover;
  }
  .avatar svg {
    display: block;
  }
  
  /* ===== AVAILABILITY PILLS ===== */
  .pill {
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    position:relative;
  }
  .pill.is-available{
    background: var(--success);
    color: var(--success-ink);
  }

  .pill.is-penciled{
    background: #F0CF6C;
    color: var(--success-ink);
  }
  .pill.is-booked {
    background: var(--danger);
    color: var(--danger-ink);
  }
  .pill.is-hold {
    background: var(--hold);
    color: var(--hold-ink);
  }

  .pill span{
    position: absolute;
    font-size: 10px;
    background: #263238;
    padding: 5px 15px;
    border-radius: 10px;
    bottom: -13px;
    right: 10px;
    color: #fff;
    transition: 0.6s;
    opacity: 0;
  }
  .pill:hover span{
    opacity: 1;
  }

td[data-label="Name"]{
  border-left: 8px solid  #F0F0F0;
}


.tr-available td[data-label="Name"]{
  border-left: 8px solid  #F0CF6C; 
}

.note{
  text-align: center;
  font-size: 12px;
  top: 20px auto 50px;
}

/* Spinner centrado */
.loading-spinner{
  margin: -30px 0 50px;
    text-align: center;
}
.loading-spinner img {
  width: 40px;
  margin-right: 10px;
  display: inline-block;
}
#loading-spinner2{
  margin-top: 40px !important;
}

.flex-dashboard{
  display: flex;
  gap: 35px;
  margin: 50px auto;
}

.sidebar-container{
  padding: 25px;
  background-color: #EEF0FD;
  border:1px solid #E6E6E6 ;
  border-radius: 16px;
  max-width: 430px;
  width: 100%;
}

.sidebar-container .sidebar-content{
  display: flex;
  gap: 25px;
  margin-bottom: 25px;

}


.sidebar-content .pill{
  margin-top: 15px;
}

.profile-role{
  background-color: #EBCE85 !important;
  color: #000000 !important;
}

.profile-meta {
    background-color: #B4CBED !important;
    color: #000000 !important;
    width: auto;
    align-items: center;
    max-width: max-content;
        margin-right: 10px;
}
.profile-meta svg{
  display: inline-block;
  margin-right: 5px;
  fill:#000000
}

.profile-meta svg path{
 fill:#000000 !important;
}

.content-user h1{
  font-size: 24px;
  line-height: 32px;
}

.information-container{
  width: 100%;
  padding: 25px;
  background-color: #FFF;
  border:1px solid #E6E6E6 ;
  border-radius: 16px;
}  

.profile-box{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.profile-box img{
  width: 150px;
  height: 150px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}
.profile-box  h1{
  font-size: 17px;
  line-height: 20px;
  margin-bottom: 15px;
 }



 .content-area.container{max-width:1200px;margin:40px auto}

 .sidebar-container .profile-box{background:#e3eeff;border:1px solid #c9d7ef;border-radius:20px;padding:24px;text-align:center}
 .profile-img-box{
  display: block;
  width: 100%;
  max-width:100px;
  height:100px;
  position: relative;
  border-radius:50%;margin-bottom:12px;
  overflow:hidden
 }
 .profile-img-box a{
  display: flex;
  position: absolute;
  width: 100%;
  opacity: 0;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255, 0.8);
  z-index: 2;
  top: 0;
  left: 0;
  text-align: center;
 }
 .profile-img-box:hover a{
    color: #000;
    opacity: 1;
 }
 .profile-img{width:100px;height:100px;object-fit:cover;border-radius:50%;}
 .profile-box h1{font-size:22px;margin:6px 0 2px}
 .profile-meta{color:#475569;font-size:14px}

 .section{margin-bottom:26px} 
 .section h2{font-size:22px; line-height:34px; margin-bottom: 15px;color:#000000}
 .section p{font-size:14px; line-height:24px; margin-bottom: 5px;color:#000000; font-weight: 300;}
.section p strong{ font-weight: 700;}
.section-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
 }

.section-exp{
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.section-exp .column{
  width: 100%;
}

.section-exp .exp-date{
  width: 100px;
}

.updated{
  padding: 10px;
  display: block;
  margin-bottom: 20px;
  text-align: center;
  background-color:var(--success) ;  
}
/* ====== acf-form =======*/
.acf-formp{font-size:14px; line-height:24px; margin-bottom: 5px;color:#000000; font-weight: 300;}
.acf-form .acf-field {padding: 0px 10px !important;}
.acf-form label {font-size:16px; line-height:34px;  margin-bottom: 0px;color:#000000; font-weight: 400 !important;}

.acf-form div[data-type="message"] label{font-size:21px; line-height:34px; padding-top: 25px; margin: 0px 0 10px;color:#000000; font-weight: 600 !important;}
label[for="acf-field_69096f372b86f"]{padding-top: 0px !important;}
label[for="acf-field_68e3e44a0e3a3"]{display: none !important;}
label[for="acf-field_68e3e3f00e39f"]{padding-top: 10px !important;}


.acf-fields>.acf-field{border: 0px !important;}

.acf-form input[type="text"],
.acf-form input[type="email"], 
.acf-form input[type="number"],
.acf-form input[type="url"]{ padding: 10px; border-radius: 10px; color:#000000; border:1px solid #000000}

.acf-form select{ padding: 10px; border-radius: 10px; color:#000000; border:1px solid #000000; margin-bottom: 20px;}

.acf-form input[type="submit"]{ width: 200px; margin-top: 25px; padding: 10px 40px; border-radius: 20px; color:#000000; border:1px solid #000000; color: #fff; font-size: 18px; line-height: 22px; }
.acf-form input[type="submit"]{ background-color: #2C2828;} 


.acf-form  .acf-field-true-false label{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 15px;
}
.acf-form  .acf-field-true-false label .message{
  display: inline-block;
    margin: 0px;
    font-size: 16px;
    line-height: 24px;
    margin-top: -6px;
}


.acf-form  .acf-table>thead>tr>th{
  background-color: #fafafa;
}

.select2-container--default .select2-selection--single{
    background-color: #fff;
    border: 1px solid #000 !important;
    border-radius: 10px;
}

.acf-form .acf-repeater .acf-input{
  padding: 5px 0 10px;
}
.acf-form .acf-repeater .acf-label{
  margin: 0px !important;
} 

.acf-form  .acf-repeater-add-row{
  color: #1B87E0;
  font-size: 14px;
  padding: 15px 0;
}

.acf-form  .acf-repeater-add-row:before{
  content: "+";
  display: inline-block;
  margin-right: 10px;
}

.acf-form div[data-type="date_picker"] .acf-input input[type="text"]{
  display: none;



}

.inline-calendar{
  margin-bottom: 25px;
}

.this-is-date-picker input{
  display: none;
  pointer-events: none;
}

.inline-calendar .ui-datepicker-inline{
  background-color: #fff;
  width: 100%;
  padding: 0px;
}

.inline-calendar  .ui-datepicker-header{
  background-color: #fafafa;
}

.ui-datepicker-calendar tr td span{
  text-align: center;
}

.ui-datepicker-calendar tr td a{
  text-align: center;
  border: 1px solid #E6E6E6;
}

.ui-datepicker-calendar tr td.ui-datepicker-today a{
  background: #f1f1f1 !important;
  color: #ccc !important;
  pointer-events: none;
}

.ui-datepicker-calendar tr td a.ui-state-active{
  text-align: center;
  background-color:  #EEF0FD;
}



.ui-datepicker-calendar tr td.ui-state-disabled span{
  background-color: #fafafa;
  color: #ccc;
}

.inline-calendar .ui-datepicker-inline select{
  border: 0px !important;
  padding: 0px 10px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  
}

.clear-date{
  padding: 5px 20px;
    font-size: 12px;
    color: #fff;
    background-color: #000;
    float: right;
    margin-top: -20px;
    cursor: pointer;
    border: 1px solid #000;
}
.clear-date:hover{
  background-color: #ccc;
  color: #000;

}

label[for="acf-field_68e3e4150e3a1"]{
  font-size: 21px;
    line-height: 34px;
    margin: 0px 0 10px; 
    color: #000000;
    font-weight: 600 !important;
}


.acf-field-68e3e4150e3a1 .hide-if-value {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 20px;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.acf-field-68e3e4150e3a1 .hide-if-value p{
  color:#5F5F5F ;
  text-align: center;
}

.acf-field-68e3e4150e3a1 .hide-if-value p a{
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  
}

.acf-field-68e7e246dfdd4{
  margin-bottom: 25px !important;
}

div[data-name="acf_first_name"],
div[data-name="acf_last_name"]{
  margin-bottom: 25px !important;
}

/* ====== READ MORE BTNS ======== */
.read-more-btn{
  width: 100%;
  display: inline-block;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  font-size: 17px;
  line-height: 21px;
  background-color: #2C2828;
  color: #fff;
  transition: 0.6s;
  margin-bottom: 15px;
}
.read-more-btn.imdb-style{
  background-color: #F7C800;
  color: #000000;
}

.read-more-btn.light-style{
  background-color: #fff;
  color: #000000;
}

.read-more-btn:hover{
  background-color: #F0CF6C;
  color: #000000;
}

.login-option svg{
  margin-right: 15px;
  width: 55px;
  height: 55px;
}

input[type="file"]{
  cursor: pointer;
}

.hide-box{
  display:none;
}

.nest-loop{
  width: 100%;
  max-width: 930px;
  margin-top: -40px;
}

.open-more-roles:after{
  content: ">";
  display: inline-block;
  width: 25px;
  height: 25px;
  font-size: 21px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #000;
  transform: rotate(90deg);
  margin: 0px 5px;
}

.nest-loop .internal-roles {
  padding: 10px 0;
  max-width: 750px;
  margin: 0px auto; 
}

.nest-loop .internal-roles .box-content{ 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

  
 @media(max-width:900px){.cards{grid-template-columns:1fr}}
 @media(max-width:900px){.flex-dashboard{grid-template-columns:1fr}}
  /* ===== RESPONSIVE TABLE ===== */
  @media (max-width: 1024px) {
    .data-table thead th,
    .data-table tbody td {
      padding-left: 16px;
      padding-right: 16px;
    }
    .data-table thead th:nth-child(5),
    .data-table tbody td:nth-child(5) {
      display: none;
    }
  }
  @media (max-width: 768px) {
    .data-table {
      border: 0;
      border-radius: 0;
      box-shadow: none;
      background: transparent;
    }
    .data-table thead {
      display: none;
    }
    .data-table tbody tr {
      display: block;
      margin: 12px 0;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--panel);
      box-shadow: var(--shadow);
    }
    .data-table tbody td {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 12px;
      border-bottom: 1px solid var(--border);
      padding: 14px 16px;
    }
    .data-table tbody td::before {
      content: attr(data-label);
      color: var(--muted);
      font-weight: 600;
    }
    .data-table tbody td:last-child {
      border-bottom: 0;
    }
    .pill {
      width: 100%;
    }
  }
  @media (max-width: 560px) {
    .data-table tbody td {
      grid-template-columns: 1fr;
    }
    .data-table tbody td::before {
      margin-bottom: 6px;
    }
  }
  
  /* ===== RESPONSIVE FILTERS ===== */
  @media (max-width: 1024px) {
    .filter-group {
      gap: 10px;
    }
    .filter-input,
    .filter-input {
      min-width: 45%;
    }
  }
  @media (max-width: 768px) {
    .filter-input,
    .filter-input {
      flex: 1 1 100%;
    }
  }
  

/* ===== Steps Wizard (URS) ===== */
.urs-steps-nav{
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 12px 22px;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}

.urs-progress{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: #f1f1f1;
}

.urs-progress-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #111;
  transition: width .25s ease;
}

.urs-step-pill{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid #efefef;
  background: #fafafa;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.urs-step-pill:hover{
  transform: translateY(-1px);
  border-color: #dedede;
  background: #f6f6f6;
}

.urs-step-dot{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #dcdcdc;
  background: #fff;
  color: #666;
  flex: 0 0 32px;
  transition: all .2s ease;
}

.urs-step-label{
  font-size: 13px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active */
.urs-step-pill.is-active{
  background: #111;
  border-color: #111;
}

.urs-step-pill.is-active .urs-step-dot{
  border-color: #fff;
  background: #fff;
  color: #111;
}

.urs-step-pill.is-active .urs-step-label{
  color: #fff;
}

/* Completed */
.urs-step-pill.is-done{
  background: #fff;
  border-color: #dcdcdc;
}

.urs-step-pill.is-done .urs-step-dot{
  background: #111;
  border-color: #111;
  color: #fff;
}

.urs-step-pill.is-done .urs-step-label{
  color: #111;
}

/* Disabled (locked) */
.urs-step-pill.is-locked{
  opacity: .55;
  cursor: not-allowed;
}

.urs-step-pill.is-locked:hover{
  transform: none;
  background: #fafafa;
  border-color: #efefef;
}
#urs-form{

  margin: 0 auto 35px;
  max-width: 650px !important;
}
#urs-form h4{
  font-size: 21px;
  margin-bottom: 20px;
}
#urs-form label{
  margin: 0px 0px 5px !important;
}
#urs-form input[type=date],
#urs-form input[type=email], 
#urs-form input[type=number], 
#urs-form input[type=password], 
#urs-form input[type=tel], 
#urs-form input[type=text], 
#urs-form input[type=url],
#urs-form input[type=file],
#urs-form input[type=date],
#urs-form select{
  border: 1.5px solid #000;
  border-radius: 42px;
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
  padding: 16px 30px;
  width: 100%;
  margin-bottom: 20px;
}


#urs-form .green {
  margin: 0px 0 20px auto;
  display: block;
}

.urs-next{
  margin-left: auto;
}
.urs-repeater-row {
  margin: 10px 0;
  display: flex;
  gap: 14px;
  width: 100%;
}

.urs-repeater-row.special{
  flex-direction: column;
}
.urs-nested{
  padding-bottom: 25px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px; 
}
.flex-section,
.urs-nested-row{
  display: flex;
  gap: 14px;
  width: 100%;
}

.urs-production-names{
  max-width: 650px;
  margin: auto;
}

.urs-repeater-row div{
  width: 100%;
}
.urs-area-region > button.urs-remove-row{
  pointer-events: none;
}
.urs-remove-row{
  display: block;
  margin-left: auto;
}

.urs-row { margin: 0 0 12px; display:flex; flex-direction:column; gap:6px; }
        .urs-actions { display:flex; gap:10px; margin-top:16px; }
        .notice { padding:12px; background:#f5f5f5; margin:10px 0; }
        .notice-error { background:#ffe8e8; }
        .notice-success { background:#e9ffe8; }
        .urs-steps-nav { display:flex; gap:6px; margin-bottom:10px; }
        .urs-steps-nav button { padding:6px 10px; }

/* Responsive */
@media (max-width: 900px){
  .urs-steps-nav{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 28px;
  }

  .urs-repeater-row,
  .flex-section,
  .urs-nested-row {    flex-direction: column;}
}
@media (max-width: 520px){
  .urs-steps-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .urs-step-label{ font-size: 12px; }
}
