@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.pagy {
  @apply flex space-x-1 font-semibold text-sm text-gray-500;
  a:not(.gap) {
    @apply block rounded-lg px-3 py-1 bg-gray-200;
    &:hover {
      @apply bg-gray-300;
    }
    &:not([href]) { /* disabled links */
      @apply text-gray-300 bg-gray-100 cursor-default;
    }
    &.current {
      @apply text-white bg-gray-400;
    }
  }
  label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-md;
    }
  }
}

.pagy-nav-prev, .pagy-nav-next {
  @apply text-blue-500 hover:text-blue-600;
}

.pagy-nav-page, .pagy-nav-active {
  @apply px-2 py-1 rounded border hover:bg-gray-100;
}

.pagy-nav-gap {
  @apply px-2 py-1 text-gray-500;
}

/* Para items selector si no se aplica automáticamente */
.pagy-items-selector {
  @apply form-select block appearance-none w-full bg-white border border-gray-300 hover:border-gray-500 px-4 py-2 pr-8 rounded leading-tight focus:outline-none focus:shadow-outline;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *Azul->>#100D28


 */


 body{
    background-color: #FEFEFE;
    font-family: "Poppins", sans-serif;
}


h1{
    font-family: 'BR Sonoma', sans-serif;
    color: gray;
    font-size: 48px;
    font-weight: 500;
    line-height: 58px;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility !important;
}

h2{
    font-family: 'BR Sonoma', sans-serif;
    color: gray;
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility !important;
}

h3{
    font-family: 'BR Sonoma', sans-serif;
    color: gray;
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    letter-spacing: 0em;
    text-rendering: optimizeLegibility !important;
}

h4{
    font-family: 'BR Sonoma', sans-serif;
    color: gray;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    text-rendering: optimizeLegibility !important;
}

h5{
    font-family: 'BR Sonoma', sans-serif;
    color: gray;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-rendering: optimizeLegibility !important;
}

h6{
    color: gray;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-rendering: optimizeLegibility !important;
}

p{
    color: gray;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.05em;
    padding: 20px 0px;
    text-rendering: optimizeLegibility !important;
}

a{
    color: gray;
    font-family: 'BR Sonoma', sans-serif;
    font-weight: 400;
    text-rendering: optimizeLegibility !important;
}

form{
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility !important;
}

/*Unico tipo de boton LANDING*/

.btn-texto{
    font-family: 'BR Sonoma', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    letter-spacing: 0.1em;
    line-height: normal;
    color: #FFFFFF;
    text-rendering: optimizeLegibility !important;
}

.btn-primero {
    display: flex;
    padding: 9px 18px;
    align-items: center;
    border-radius: 12px;
    background: #004C4E;
    width: fit-content;
    box-shadow: 0px 4.5px 4.5px 0px rgba(0, 0, 0, 0.25);
}

.btn-primero-header {
    padding: 9px 18px;
    align-items: center;
    border-radius: 12px;
    background: #004C4E;
    width: fit-content;
    box-shadow: 0px 4.5px 4.5px 0px rgba(0, 0, 0, 0.25);
}

.btn-primero:hover,
.btn-primero:focus {
    background: white;
    color: #004C4E;
    font-weight: 500;
    border: 2px solid #004C4E;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
}
.btn-primero:active {
    background: #00BBB4;
    color: #004C4E;
    font-weight: 600;
    border: 0px solid #004C4E;
}

.btn-segundo {
    display: flex;
    padding: 9px 18px;
    align-items: center;
    border-radius: 12px;
    background: #5e5e5e;
    width: fit-content;
    box-shadow: 0px 4.5px 4.5px 0px rgba(0, 0, 0, 0.25);
}

.btn-segundo:hover,
.btn-segundo:focus {
    background: rgb(181, 181, 181);
    color: #002728;
    font-weight: 500;
    border: 2px solid #5e5e5e;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
}
.btn-segundo:active {
    background: #5e5e5e;
    color: #00BBB4;
    font-weight: 600;
    border: 0px solid #004C4E;
}

.a_nav{
    color: #004C4E;
}

.a_nav:hover,
.a_nav:focus {
    color: #62CBC9;
}

/* modal */

.modal1 {
    overflow-y: auto;
    padding: 50px 40px;
    max-height: 60vh;
}

.iframe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.iframe-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 450px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.iframe-modal-content-os {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}
