.bg-warning-light {
  background-color: #f8f4e8;
}

.bg-warning-light-2 {
  background-color: #e6dbbd;
}

.form-control {
  border-radius: 18px !important;
}

.form-control::placeholder {
  color: #808080 !important;
}

.btn-primary {
  background-color: #121636 !important;
  border-color: #121636 !important;
}

.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-backdrop {
    background-color: rgba(18, 22, 53, 0.8) !important;
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 1;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}

.footer-content p {
  color: white;
  font-size: 14px;
}

.footer-content img {
  width: 160px;
}

.footer-wrapper h4 {
  color: var(--white-color);
}

.auction-details-top-header {
  display: flex;
  font-size: 15px;
  justify-content: flex-start;
  gap: 25px;
}

.auction-details-top-header-id {
  font-weight: 600;
}

.auction-details-top-header-tags {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  color: var(--soft-gray);
}

.auction-details-top-header-id,
.auction-details-top-header-tags {
  flex: 0 1 auto; /* Tamaño basado en su contenido, sin ocupar espacio restante */
}

.auction-details-top-header-share {
  flex: 1;
  text-align: right;
}

.auction-details-header h1 {
  color: var(--blue-vs);
  font-size: 28px;
  font-weight: 700;
}

.auction-details-header-info {
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  color: var(--blue-vs);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 10px 20px;
}

.auction-details-header-info .badge {
  display: block;
  margin-top: 1px;
}

.box-subasta-mayor-puja {
  border: 2px solid var(--blue-vs);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.box-subasta-mayor-puja p {
  margin: 0 !important;
  
}

.box-subasta-mayor-puja span {
  color: var(--blue-vs);
  font-size: 24px;
  font-weight: 600;

}

.box-subasta-calculadora {
  color: var(--blue-vs);
}

.box-subasta-calculadora a {
  width: 100%;
  border-radius: 5px;
  padding: 12px;
  font-size: 15px;
}

.box-subasta-calculadora .primary-btn {
  justify-content: center;
  background-color: var(--blue-vs);
}

.box-subasta-cta {
  color: var(--blue-vs);
}

.box-subasta-cta p {
  color: #1d1d1d !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 20px !important;
  margin-bottom: 15px !important;
}

.box-subasta-cta a.btn {
  color: #1d1d1d;
  width: 100%;
  border-radius: 5px;
  padding: 12px;
  font-size: 15px;
}

.box-subasta-cta .primary-btn {
  justify-content: center;
  background-color: var(--primary-color4);
}

.box-subasta-info {
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 14px;
}

.box-subasta-info table {
  width: 100%;
}

.box-subasta-info table tr td {
  padding: 5px;
}

.box-subasta-info table td:nth-child(odd) {
  color: var(--paragraph-color);
}

.box-subasta-info table td:nth-child(even) {
  color: var(--blue-vs);
  font-weight: 600;
  text-align: right;
}

.box-subasta-info-link {
  display: flex;
  justify-content: end;
}

.box-subasta-info-link a {
  color: var(--blue-vs);
  font-weight: 600;
}



.subasta-ficha h3 {
  color: #282d57;
}

.subasta-ficha h4 {
  font-size: 22px;
  color: #282d57;
}

.subasta-ficha-documentos {
  font-weight: 500;
  color: #282d57;
}

.subasta-ficha-documentos i {
  font-size: 20px;
}

.subasta-ficha-documentos a {
  font-weight: 600;
  color: #282d57;
  font-size: 18px;
}

.subasta-ficha-documentos-doc {
  border-bottom: 2px solid #eeeeee;
  padding: 20px 0;
}

.subasta-ficha-datos-exp {
}

.subasta-ficha-datos-exp-linea {
  border-radius: 6px;
  background: #eee;
  padding: 20px;
  color: #282D57;
  margin-bottom: 10px;
}

.subasta-ficha-datos-exp-linea strong {
  font-weight: 700;
  margin-right: 20px;
}


/* dropdown */
.dropdown-menu {
    background-color: #282d57;
    border: none;
    border-radius: 8px;
}

.dropdown-menu .dropdown-item {
    color: #FFF;
    font-weight: 500;
    padding: 4px 15px;
    font-size: 13px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #343A6A;
    color: #FFFFFF;
}

.header-avatar {
  background-color: #B0BADD;
  color: #fff;
  width: 35px;
  height: 35px;
  font-size: 1.4rem;
  font-weight: 400;
}

.dropdown-avatar span {
  font-size: 14px;
  font-weight: 300 !important;
}

.animate-fade {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-vsubasta .modal-header {
  border: none;
  padding: 30px;
  padding-bottom: 0;
}

.modal-vsubasta .modal-body {
  border: none;
  padding-bottom: 0;
  padding: 30px;
  padding-top: 20px;
}

.modal-vsubasta label {
  color: #282d57;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.mensaje_subasta {
  padding: 15px 0;
  text-align: center;
}

.mensaje_subasta h3 {
  font-size: 24px;
  margin: 0;
}

.mensaje_subasta_success {
  background-color: #92D12B;
  color: #494949;
}

.mensaje_subasta_warning {
  background-color: #F8F4E8;
  color: #494949;
}

.mensaje_subasta_danger {
  background-color: #FF6757;
  color: #fff;
}



.auction-container {
    background-color: white;
    padding: 20px 30px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.auction-form-container {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
#auction-form {
  display: inline-flex;
  gap: 15px;
}


/* Caja de cantidad con botones */
.entrada-cantidad .input-tipos-entrada-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8b8b8;
  border-radius: 35px;
  overflow: hidden;
  height: 38px;
  background-color: white;
  padding: 0 7px;
}

/* Botones de + y - */
.input-tipos-entrada-btn {
  border: 1px solid #777;
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  color: #777;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-tipos-entrada-btn:hover {
  background-color: var(--blue-vs-dark);
  color: white;
  border-color: transparent;
}

/* Input numérico */
.input-tipos-entrada-box input {
  width: 110px;
  text-align: center;
  border: none;
  height: 100%;
  padding: 0;
  background-color: transparent;
}


.auction-select, .auction-input, .auction-button {
    /*margin-right: 10px;*/
}
.auction-select {
    border-radius: 5px;
    border: none;
    background-color: #f0f2f5;
    padding: 5px 20px;
}
.auction-input {
    padding: 5px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    width: 100px;
    text-align: center;
}
.auction-button {
    padding: 5px 20px;
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 5px;
}

.box-subasta-pujas {
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  padding: 5px;

}

.auction-tabla-pujas {
  width: 100%;
}

.auction-tabla-pujas tr th {
  font-weight: 400 !important;
  font-size: 14px;
}

.auction-tabla-pujas tr td {
  font-weight: 300 !important;
  font-size: 14px;
}

.auction-tabla-pujas-postor {
  background-color: #f5f5f5;
  border-radius: 50%;
  padding: 3px;
}

.auction-tabla-pujas-postor-success {
  color: white;
  background-color: #92D12B;
  border-radius: 50%;
  padding: 3px;
}

.category-card5 img {
  max-height: 80px;
}

.card-img img {
  width: 100% !important;
}

.fila .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
}
.fila .auction-card {
    display: flex;
    gap: 1rem;
}
.fila .auction-card-img-wrap {
    flex: 0 0 150px;
}
.fila .auction-card-content {
    flex: 1;
}

.auction-card-img-wrap-noimg {
  background: #121636;
  height: 245px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  padding: 20px;
  text-align: center;
}

.auction-card-img-wrap-noimg:hover {
  background: #1d224d;
}

.fila .auction-card-img-wrap-noimg {
  background: #121636;
  height: 135px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 14px;
  padding: 10px;
}

#auction-tabs {
  background: #fff;
  box-shadow: none !important;
  margin-bottom: 50px;
}

.nav-tabs .nav-link {
  position: relative;
  transition: color .2s;
  color: #777;
}

@media (max-width: 575.98px) {
  #auction-tabs .nav-link {
    border-radius: 0;         /* elimina esquinas redondeadas si lo prefieres */
    border-left: 0;
    border-right: 0;
  }
}

.nav-tabs .nav-link:hover {
  border-color: transparent !important;
}

.nav-tabs .nav-link:focus {
  border-color: transparent !important;
}
.nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue-vs);
}

.nav-tabs .nav-link.active {
  background: #fff;
  border-color: transparent;
}

.subasta-ficha section + section {     /* aplica a partir del 2º */
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
}

.auction-details-description-table-activos {
  border-collapse: separate;  /* imprescindible */
  border-radius: 8px;         /* radio global */
  overflow: hidden;           /* oculta lo que sobresalga */
  border: 2px solid #eee;     /* borde externo */
}

.auction-details-description-table-activos th,
.auction-details-description-table-activos td {
  padding: 15px 12px;
  border-bottom: 1px solid #eee;  /* líneas internas */
}
.auction-details-description-table-activos tr:last-child td {  /* quita último separador */
  border-bottom: none;
  padding: 30px 12px;
  font-weight: bold;
}

.coste-total-activos {
  background-color: #EAF0FC;
  padding: 8px 15px;
  border-radius: 6px;
}

.auction-details-description-acc-btn {
  background: #eaf0fc;
  border-bottom: 1px solid #fff;
}



.auction-container .coundown-area-2 .countdown-timer-2 {
  display: flex;
  justify-content: center;
  border-left: 1px solid #d1d5db;
  margin-left: 20px;
  padding-left: 20px;
}
.auction-container .coundown-area-2 .countdown-timer-2 ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0px;
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul {
    gap: 0px;
  }
}
@media (max-width: 576px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul {
    gap: 0px;
  }
}
.auction-container .coundown-area-2 .countdown-timer-2 ul li {
  color: #494949;
  font-family: var(--font-dmsans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 5px;
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul li {
    font-size: 22px;
  }
}
@media (max-width: 991px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul li {
    font-size: 22px;
  }
}
@media (max-width: 576px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul li {
    font-size: 20px;
    font-weight: 800;
    padding: 0;
    border: unset;
  }
}
.auction-container .coundown-area-2 .countdown-timer-2 ul li span {
  color: rgba(var(--title-color-opc), 0.7);
  font-family: var(--font-dmsans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}
@media (max-width: 576px) {
  .auction-container .coundown-area-2 .countdown-timer-2 ul li span {
    font-size: 13px;
  }
}
.auction-container .coundown-area-2 .countdown-timer-2 ul li span:first-child {
  display: none;
  visibility: hidden;
}
.auction-container .coundown-area-2 .countdown-timer-2 ul li svg {
  fill: rgba(var(--title-color-opc), 0.15);
}
.auction-container .coundown-area-2 .countdown-timer-2 ul li.clone {
  padding: 0;
  border: unset;
}
.auction-container .coundown-area-2 > span {
  color: var(--paragraph-color);
  font-family: var(--font-dmsans);
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  letter-spacing: 0.02em;
  display: block;
  padding-top: 20px;
}
@media (max-width: 576px) {
  .auction-container .coundown-area-2 > span {
    font-size: 17px;
  }
}
.auction-container .coundown-area-2 > span strong {
  color: var(--title-color);
  font-weight: 500;
}


.auction-email-container {
  border-left: 1px solid #d1d5db;
  margin-left: 20px;
  padding-left: 20px;
}

.form-switch.form-switch-lg .form-check-input {
    width: 2.5rem;
    height: 1.5rem;
}
.form-switch.form-switch-lg .form-check-input:checked {
    background-position: right center;
}

.auction-email-container .form-check-input:checked {
  background-color: #92d12b; /* Bootstrap's success color */
  border-color: #92d12b;
}


.auction-mis-pujas {
  display: flex;
  justify-content: space-between;
  background-color: #eaf0fc; 
  border-radius: 10px;
  padding: 20px 30px;
}

.auction-mis-pujas-btn-pujas {
  background: none;
  border: none;
  color: #282d57;
  font-weight: 600;
}

.auction-mis-pujas table {
  color: #282d57;
}

.auction-mis-pujas table th {
  padding: 15px 0;
}

.auction-mis-pujas-btn-pujas svg {
  transition: transform .25s ease;
}

/* Panel cerrado (flecha abajo) */
.auction-mis-pujas-btn-pujas[aria-expanded="false"] svg {
  transform: rotate(0deg);
}

/* Panel abierto (flecha arriba) */
.auction-mis-pujas-btn-pujas[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

