@import url('snte-theme.css');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
    box-sizing: border-box; 
}

body {
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #f4f6f5;
}

*, *:before, *:after {
    box-sizing: inherit;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box; 
    padding: 10px 20px;
    background: #ffffff;
}

.logo-snte {
    width: 300px;
    height: auto;
    padding-left: 30px;
}

.logo-itl {
    width: 105px;
    height: auto;
    padding-left: 30px;
}

.volver-btn {
    padding-right: 30px;
    margin-left: auto;       
    color: #E35205;         
    text-decoration: none;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    padding: 20px 0;
}

.form-box {
    position: relative;
    width: 700px;
    height: auto; 
    min-height: 900px; 
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.form-box-compact {
    width: min(360px, 90vw);
    min-height: auto;
    padding: 28px 22px;
}

.register-hint {
    margin: 4px 0 18px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
    text-align: center;
}

.columna, .columna2, .columna3, .columna4 {
    display: flex;
    column-gap: 15px;
    width: 100%;
}

h2 {
    font-size: 2em;
    color: #000000;
    text-align: center;
    margin-top: 0;
}

.inputbox {
    position: relative;
    margin: 20px 0;
    width: 100%;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: 2px solid #000000;
    outline: none;
    font-size: 1em;
    padding: 0 45px; 
    color: #000000;
    box-sizing: border-box;
}

.select-container select, #colonia, select {
    width: 100%;
    height: 50px;
    padding: 0 40px 0 45px; 
    border: 2px solid #000000;
    font-size: 1em;
    color: #6d6d6d;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
}

.icon-left {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #000 !important;
    font-size: 1.2em;
    pointer-events: none;
    z-index: 5;
}

.icon-right {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #000;
  font-size: 1.2em;
  cursor: pointer;
}

.split-date-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border: 2px solid #000000;
    background: transparent;
    box-sizing: border-box;
}

.split-inputs {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
    padding-left: 45px; 
    padding-right: 15px;
}

.split-inputs input {
    border: none !important;
    width: 30% !important;
    height: 100% !important;
    padding: 0 !important;
    text-align: center;
    background: transparent !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: #000;
}

.divider {
    color: #000;
    font-weight: bold;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-password-toggle-button {
    display: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.design-button {
    width: 100%;
    height: 45px;
    border-radius: 40px;
    background: #E35205;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: white;
    margin-top: 10px;
}

/* Estilo para que el input date no rompa la estética */
input[type="date"] {
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    width: 100%;
    padding-left: 35px; /* Espacio para el icono */
}

/* Opcional: Estilo para el icono del calendario nativo */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(200deg) brightness(90%) contrast(105%); /* Color azul ITL */
}

@media screen and (max-width: 768px) {
    .form-box {
        width: 90%;
        padding: 30px 20px;
    }

    .columna, .columna2, .columna3, .columna4 {
        flex-direction: column; 
        column-gap: 0;
    }

    .logo-snte {
        width: 250px;
        padding-left: 20px;
    }

    .logo-itl {
        width: 70px;
        padding-left: 20px;
    }

    .volver-btn {
    margin-left: 40px;
    }
}