/* General */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fef7e5;
    color: #3d413a;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Header con imagen adaptativa */
header {
    width: 100%;
    display: flex;
    justify-content: center;
}

header img {
    width: 100%;
    height: auto;
}

/* Contenedor principal */
.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
    margin-top: 20px;
    z-index: 1000;
}

h2 {
    background-color: #ef7229;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 0px;
}

h3 {
    background-color: #fd9100;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 0px;
}

/* Estilos para los inputs con iconos */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 10px;
    top: 20px;
    transform: translateY(-50%);
    color: #ff7300;
    font-size: 1.2em;
}

.input-group input, .input-group select {
    padding: 10px 10px 10px 30px;
    border: 1px solid #3d413a;
    border-radius: 5px;
    width: 92%;
    font-size: 1em;
}

/* Switch personalizado */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.switch-label {
    font-size: 1em;
    font-weight: bold;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff7300;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Botón */
button {
    margin-top: 15px;
    background-color: #ff7300;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background-color: #ef7229;
}

/* Footer */
footer {
    background-color: #ff9e2e;
    color: white;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    /*position: fixed;*/
    margin-top: 20px;
    bottom: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content img {
    width: 100px;
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
    text-decoration: none;
}

/* Contenedor de estrellas y texto */
.star-container {
    text-align: center;
    margin-bottom: 15px;
}

/* Estrellas */
.star-rating {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    font-size: 2em;
    cursor: pointer;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
    padding: 5px;
}

/* Cambia el color de las estrellas al pasar el mouse */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ff7300;
}

/* Cambia el color de las estrellas cuando se selecciona */
.star-rating input:checked ~ label {
    color: #ff7300;
}

/* Texto dinámico debajo de las estrellas */
#rating-text {
    font-size: 1.2em;
    color: #3d413a;
    font-weight: bold;
    margin-top: 10px;
    transition: opacity 0.3s;
}


/* Estrellas */
.star-rating {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    font-size: 2em;
    cursor: pointer;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
    padding: 5px;
}

/* Cambia el color de las estrellas al pasar el mouse */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ff7300;
}

/* Cambia el color de las estrellas cuando se selecciona */
.star-rating input:checked ~ label {
    color: #ff7300;
}

/* Texto dinámico debajo de las estrellas */
#rating-text {
    font-size: 1.2em;
    color: #3d413a;
    font-weight: bold;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.kenburns-top {
	-webkit-animation: kenburns-top 10s ease-out both;
	        animation: kenburns-top 10s ease-out both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-3-17 23:39:28
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation kenburns-top
 * ----------------------------------------
 */
@-webkit-keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
            transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
            transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
}
@keyframes kenburns-top {
  0% {
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 16%;
            transform-origin: 50% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(-15px);
            transform: scale(1.25) translateY(-15px);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
}

.slide-in-fwd-center {
	-webkit-animation: slide-in-fwd-center 1.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-fwd-center 1.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-3-17 23:44:58
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-fwd-center
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}

.scale-in-center {
	-webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-3-17 23:52:42
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

/*MODAL*/
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.85);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        
        .modal-content {
            background-color: #fff;
            padding: 2rem;
            border-radius: 8px;
            max-width: 90%;
            width: 500px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-out;
        }
        
        .modal-message {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: #333;
            line-height: 1.4;
        }
        
        .modal-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #e74c3c;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Deshabilitar scroll */
        body.modal-open {
            overflow: hidden;
        }
        
        /* Estilos responsivos */
        @media (max-width: 600px) {
            .modal-content {
                padding: 1.5rem;
                width: 85%;
            }
            
            .modal-message {
                font-size: 1.2rem;
            }
            
            .modal-icon {
                font-size: 2.5rem;
            }
        }

a {
  color: #007bff;
  text-decoration: underline;
}
a:hover {
  color: #0056b3;
}



