

/*  seccion para el eye de la password*/

.relative {
    position: relative;
}



.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px; /* Espacio para el ícono dentro del campo */
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px; /* Tamaño del ícono */
    color: #999; /* Color del ícono */
}



/*================LOADER INPUT=================*/

/* HTML: <div class="loader"></div> */
.load {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
  }
  .load::before,
  .load::after {    
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
  }
  .load::before {
    border-color: #257422 #0000;
    animation: inherit; 
    animation-duration: .5s;
    animation-direction: reverse;
  }
  .load::after {
    margin: 8px;
  }
  @keyframes l16 { 
    100%{transform: rotate(1turn)}
  }

  /* Estilo tag */

  :root {
    --loader-color: #284166;
    /* Cambia aquí el color general */
}


.loader {
    position: relative;
    width: 100%;
    max-width: 150px;
    height: 100px;
    overflow: hidden;
}

.plane {
    font-size: 15px;
    color: var(--loader-color);
    position: absolute;
    top: 50px;
    animation: fly 2s linear infinite;
    z-index: 1;
}

@keyframes fly {
    0% {
        left: -10%;
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(-2deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(5px) rotate(2deg);
    }

    100% {
        left: 110%;
        transform: translateY(0) rotate(0deg);
    }
}

.landmarks {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    color: var(--loader-color);
    font-size: 20px;
    z-index: 2;
}

.landmarks i {
    opacity: 0.9;
}


/* ================ Formulario catalogo terrstre ==============*/

/* Paleta: Verde profesional + tonos neutros */
:root {
    --color-principal: #2E7D32; /* Verde profesional */
    --color-secundario: #1B5E20;
    --color-borde: #C8E6C9;
    --color-fondo: #F9FDF9;
    --color-texto-label: #ffffff;
    --color-input-bg: #ffffff;
    --color-input-border: #A5D6A7;
    --color-referencial: #c99422;
    --fuente-principal: 'Segoe UI', 'Helvetica Neue', sans-serif;
  }
  
  .label-box {
    background-color: var(--color-principal);
    color: var(--color-texto-label);
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-family: var(--fuente-principal);
  }

  .label-box-referencial {
    background-color: var(--color-referencial);
    color: var(--color-texto-label);
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-family: var(--fuente-principal);
  }
  
  .form-group-custom {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    background-color: var(--color-fondo);
    border: 1px solid var(--color-borde);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  
  .form-input {
    flex: 1;
    height: 36px;
    font-size: 0.85rem;
    padding: 0 10px;
    border: none;
    background-color: var(--color-input-bg);
    font-family: var(--fuente-principal);
    color: #333;
  }
  
  .form-input:focus {
    outline: none;
    background-color: #f1fff1;
  }
  
  .form-select-sm,
  .form-control-sm {
    height: 36px !important;
    font-size: 0.85rem;
    padding: 6px 10px;
    border: none;
    background-color: var(--color-input-bg);
    font-family: var(--fuente-principal);
    color: #333;
  }
  
  .form-select-sm:focus,
  .form-control-sm:focus {
    outline: none;
    background-color: #f1fff1;
  }
  
  /* Opcional: estilo más limpio para los selects */
  select.form-select-sm {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
  }
  

  /* ================ TABLA DE SAP  ==============*/

  .cotizacion-container {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    padding: 16px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    max-width: 100%;
  }
  
  .cotizacion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  
  .titulo-seccion {
    font-weight: bold;
    color: #1B5E20;
    font-size: 1rem;
  }
  
  .cotizacion-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  
  .cotizacion-box {
    background-color: #F9FDF9;
    border: 1px solid #A5D6A7;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #1B5E20;
  }
  
  .cotizacion-box h4 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2E7D32;
    margin-bottom: 8px;
    text-align: center;
    border-bottom: 1px solid #A5D6A7;
    padding-bottom: 4px;
  }
  
  .linea {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
  }
  
  .total {
    font-weight: bold;
    border-top: 1px solid #C8E6C9;
    margin-top: 6px;
    padding-top: 4px;
  }
  
  .valor {
    font-weight: 500;
  }
  
  .nota {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 6px;
    color: #388E3C;
  }
  
  .center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  .pvp-final {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1B5E20;
    margin-top: 10px;
  }
  

  .btn-swal-confirm {
    background-color: #37BC7D !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 20px;
  }

  .btn-swal-error {
    background-color: #E7180B !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 20px;
  }





   /*estilos para el select de formulario selciona delgfacion*/

   .radiogroup {
    padding: 48px 64px;
    border-radius: 16px;
    background: #ecf0f3;
    box-shadow:
      4px 4px 4px 0px #d1d9e6 inset,
      -4px -4px 4px 0px #ffffff inset;
  }
  
  
  .wrapper {
    margin: 8px 0;
  }
  
  .state {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1e-5;
    pointer-events: none;
  }
  
  .label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #394a56;
  }
  
  .text {
    margin-left: 16px;
    opacity: .6;
    transition: opacity .2s linear, transform .2s ease-out;
  }
  
  .indicator {
    position: relative;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    box-shadow:
      -8px -4px 8px 0px #ffffff,
      8px 4px 12px 0px #d1d9e6;
    overflow: hidden;
  }
  
  .indicator::before,
  .indicator::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    height: 80%;
    width: 80%;
    border-radius: 50%;
  }
  
  .indicator::before {
    box-shadow:
      -4px -2px 4px 0px #d1d9e6,
      4px 2px 8px 0px #fff;
  }
  
  .indicator::after {
    background-color: #ecf0f3;
    box-shadow:
      -4px -2px 4px 0px #fff,
      4px 2px 8px 0px #d1d9e6;
    transform: scale3d(1, 1, 1);
    transition: opacity .25s ease-in-out, transform .25s ease-in-out;
  }
  
  .state:checked ~ .label .indicator::after {
    transform: scale3d(.975, .975, 1) translate3d(0, 10%, 0);
    opacity: 0;
  }
  
  .state:focus ~ .label .text {
    transform: translate3d(8px, 0, 0);
    opacity: 1;
  }
  
  .label:hover .text {
    opacity: 1;
  }



  /* HTML: <div class="loader"></div> */
  .loaderSearch {
    width: 30px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}