/* Estilos específicos para la página de solicitud de demo */

/* Contenedor principal */
.request-demo-container {
    padding-top: 2rem;
    background-color: #1A202C;
    background-image: linear-gradient(to bottom, rgba(26, 32, 44, 0.95), rgba(45, 55, 72, 0.95)), 
                     url('../images/truck-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 70px);
    padding: 3rem 1.25rem;
}

/* Títulos y subtítulos */
.demo-title {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
}

.demo-subtitle {
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Formulario */
.demo-form {
    background-color: #2D3748; /* Fondo oscuro para el formulario */
    padding: 2rem;
    border-radius: 0.5rem;
}

/* Etiquetas del formulario */
.form-label {
    color: white !important; /* Importante para sobrescribir cualquier otro estilo */
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Campos de entrada */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #4A5568;
    border-radius: 0.375rem;
    background-color: #1A202C;
    color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #38A169;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.3);
}

/* Mensaje de error */
.form-error {
    color: #FEB2B2;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Botón de envío */
.submit-btn {
    background-color: #38A169;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #2F855A;
    transform: translateY(-2px);
}

/* Enlace para volver */
.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-btn {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #4A5568;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mensaje de éxito */
.success-alert {
    background-color: rgba(56, 161, 105, 0.2);
    border: 1px solid #38A169;
    color: #9AE6B4;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .demo-title {
        font-size: 2rem;
    }
    
    .demo-subtitle {
        font-size: 1rem;
    }
}
