/* Contenido para: css/styles.css */

body {
    font-family: 'Arial', sans-serif;
    background: url('../img/background-simulador-02.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    overflow-x: hidden;
    padding: 2rem 0;
}

.main-content {
    animation: fadeIn 1s ease-in-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    animation: bounceIn 2s ease-in-out;
}

.logo-container img {
    max-width: 20%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.logo-container img:hover {
    transform: scale(1.1);
}

.simulator-title {
    text-align: center;
    font-weight: bold;
    font-size: 28px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: slideUp 1.2s ease-in-out;
}

.simulator-container {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
    animation: slideUp 1.2s ease-in-out;
}

.simulator-container:hover {
    transform: scale(1.03);
}

.form-label {
    font-weight: bold;
    color: #006989;
    font-size: 1rem;
}

.form-control, .form-select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
}

.range-info {
    font-size: 0.9em;
    color: #333;
    padding-top: 5px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.disclaimer-container, .admin-link-container {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
}

.disclaimer-text {
    color: white;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
}

.admin-link-container a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #2D8988;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 12px;
}

.admin-link-container a:hover {
    opacity: 1;
}

/* === DISEÑO RESPONSIVO === */
@media (max-width: 768px) {
    .logo-container img { max-width: 50%; }
    .simulator-container { padding: 20px; }
    .simulator-title { font-size: 22px; }
}

@media (max-width: 576px) {
    .logo-container img { max-width: 70%; }
    .simulator-container { padding: 15px; }
    .simulator-title { font-size: 20px; }
    .disclaimer-text { font-size: 0.8rem; }
}

/* === ANIMACIONES === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}