/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.indexcontainer {
    max-width: 800px;
    margin: auto;
    background: rgba(255, 255, 255, 0.7); /* Más transparente */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
}
.indexlogo{text-align:center;
            width: auto;
            color: #525252;
            font-size: 20px;
            padding: 5px;
            
            }  
.subtitulo{ 
    
    color: #5B5B5B;
    font-size: 17px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.7);}
    
.loginlink {
    top: 20px;
    right: 20px;
    padding-top: 10px;
    
}

.loginlink a {
    color: #172570;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.loginlink a:hover {
    text-decoration: none;
}


/* BANDERAS IDIOMAS INDEX*/
.indexidiomas {
    padding: 5px;
    text-align: right;
    top: 5px;
    right: 20px;
    z-index: 100;
}

.indexidiomas a img {
    width: 30px;
    height: auto;
    margin-left: 10px;
    border-radius: 3px;
    transition: transform 0.2s;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.indexidiomas a img:hover {
    transform: scale(1.1);
}


/* EJEMPLOS INDEX*/


.moto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.moto-texto {
    flex: 1;
    font-style: italic; /* ← Cursiva aplicada aquí */
}

.imgmoto {
    max-width: 200px;
    height: auto;
    }
    
    
.alpinista {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-direction: row; /* Imagen a la izquierda */
}

.alpinista-texto {
    flex: 1;
    font-style: italic;
}

.imgalpinista {
    max-width: 200px;
    height: auto;
}
    
.piloto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.piloto-texto {
    flex: 1;
    font-style: italic; /* ← Cursiva aplicada aquí */
}

.imgpiloto {
    max-width: 200px;
    height: auto;
    }
    
.ejecutiva {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-width: 800px;
    
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-direction: row; /* Imagen a la izquierda */
}

.ejecutiva-texto {
    flex: 1;
    font-style: italic;
}

.imgejecutiva {
    max-width: 200px;
    height: auto;
}
    
/* FUENTE GLOBAL Y FONDO */
body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    /*background-color: #ffffff;*/
  background-image: url("/img/fondobody.jpg");
    color: #202124;
    line-height: 1.6;
    padding: 10px;
}
.body-index {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    /*background-color: #ffffff;*/
  background-image: url("/img/fondobody.jpg");
    color: #202124;
    line-height: 1.6;
    padding: 10px;
}

    
/* BANDERAS IDIOMAS */
.idiomas {
    text-align: right;
    top: 5px;
    right: 20px;
    z-index: 100;
}

.idiomas a img {
    width: 30px;
    height: auto;
    margin-left: 10px;
    border-radius: 3px;
    transition: transform 0.2s;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.idiomas a img:hover {
    transform: scale(1.1);
}

/* LOGO */
.logo {
    text-align: center;
    margin-bottom: 20px;
    max-width: 800px;
    margin: auto;
    
   

}
.imagenlogo{
    width:200px;
    
}


/* CONTENEDOR PRINCIPAL */
.container {
    max-width: 800px;
    margin: auto;
       background: rgba(255, 255, 255, 0.9); /* Más transparente */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 40px 30px;
    transition: all 0.3s ease-in-out;
}

/* TÍTULOS */
h1, h2 {
    color: #1a73e8;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.titulo1 {
    color: #0A0264;
}

.titulo2 {
    color: #5f6368;
    font-size: 18px;
    text-align: center;
    background-color: #f1f3f4;
    padding: 10px;
    margin-bottom: 25px;
}

/* FORMULARIOS */
form label {
    display: block;
    margin-bottom: 5px;
    color: #5f6368;
    font-size: 14px;
}

form input[type="email"],
form input[type="password"],
form input[type="text"],
form select,
textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 2px solid #dfe1e5;
    background: transparent;
    font-size: 16px;
    transition: border-color 0.3s;
}

form input:focus,
textarea:focus,
select:focus {
    border-bottom: 2px solid #1a73e8;
    outline: none;
}

textarea {
    height: 120px;
    resize: vertical;
}
.bienvenido{
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    font-size: 20px;
}


/* SELECT ZONA HORARIA */
.zonahoraria {
    font-size: 15px;
}

/* MENSAJES Y AVISOS */
.error_registro,
.aviso {
    background-color: #fefefe;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.error_registro {
    color: #d93025;
    border: 1px solid #f8d7da;
}

.aviso {
    color: #1a73e8;
    border: 1px solid #cce5ff;
}

/* CAJA DE FECHA */
.fecha {
    font-size: 15px;
}

/* CHECKBOX */
.acepto {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 15px;
}

/* BOTONES */
form button {
    width: 100%;
    padding: 12px;
    background-color: #e8f0fe; /* azul muy claro */
    color: #4A4A4A;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #c3d6f7;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px; /* Separación entre botones */
    box-shadow: 0 2px 4px rgba(60, 64, 67, 0.1);
}

form button:hover {
    background-color: #d2e3fc;
    color: #4A4A4A;
    border-color: #a4c2f4;
}
.botonrojo{color: #4A4A4A}
.botonrojo:hover{background-color: #FF8080;
                color: #4A4A4A
}


/* BOTÓN VERDE PARA GUARDAR */
.guardar {
    background-color: #e8f0fe; /* verde claro */
    color: #4A4A4A;
    border: 1px solid #b7dfc8;
}

.guardar:hover {
    background-color: #c8e6c9;
    color: #4A4A4A;
    border-color: #a1d3b0;
}
.olvido {
    background-color: #e8f0fe;
    color: #4A4A4A;
    border: 1px solid  #F8BEBE;
}

.olvido:hover {
    background-color: #F7B0B0;
    color: #4A4A4A;
    border: 1px solid  #F8BEBE;
}


/* ENLACES */
a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* TABLAS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
    background-color: rgba(255, 255, 255, 0.85); /* fondo blanco suave */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 12px 15px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

th {
    background-color: #f5f5f5;
    color: #444;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

tr:hover {
    background-color: #f0f8ff;
    transition: background 0.2s ease-in-out;
}
/* MODAL */
.modal {
    font-family: 'Segoe UI', sans-serif;
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    width: 500px;
    z-index: 1000;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.modal h2 {
    background-color: #f5f5f5;
    color: #444;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    font-size: 20px;
}

.modal h4 {
    background-color: #f5f5f5;
    color: #444;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: left;
    font-size: 15px;
}

.modal button {
    padding: 10px 20px;
    background-color: #0288d1;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.modal button:hover {
    background-color: #01579b;
}

/* FONDO OSCURO DETRÁS DEL MODAL */
.modal-fondo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}
.firma{
        margin-top: auto;
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding-bottom: 5px 5px;
    font-size: 13px;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
  .moto,
  .alpinista,
  .piloto,
  .ejecutiva {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
.body-index{background-image:url("/img/fondoindex.png") ;}


  .imgmoto,
  .imgalpinista,
  .imgpiloto,
  .imgejecutiva {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  .moto-texto,
  .alpinista-texto,
  .piloto-texto,
  .ejecutiva-texto {
    font-size: 16px !important;
    padding: 0 10px;
  }

  .logo {
    text-align: center;
    padding-left: 20px;
  }

  .imagenlogo {
    padding-top: 10px;
    width: 200px;
  }

  .subtitulo {
    background-color: white;
    color: #000040;
    font-size: 15px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.7);
  }

  .container {
    text-align: inherit;
  }

  .titulo2 {
    font-size: 16px;
  }

  form input,
  textarea,
  .zonahoraria,
  form button {
    font-size: 15px;
  }

  .logo img {
    width: 140px;
  }

  th,
  td {
    font-size: 10px;
    padding: 1px;
  }

  #destinatario {
    width: 120px;
    padding: 2px;
  }
}


