/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.1.1726088784
Updated: 2024-09-11 21:06:24

*/




/* Variables para colores y fuentes */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #f9f9f9;
    --border-color: #ddd;
    --font-color: #333;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--secondary-color);
    color: var(--font-color);
}

/* Contenedor del formulario */
#codeValidationForm {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para los labels */
#codeValidationForm label {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--font-color);
}

/* Estilos para el selector */
#deckSelector {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: var(--secondary-color);
    color: var(--font-color);
    transition: border-color 0.3s ease;
}

#deckSelector:focus {
    border-color: var(--primary-color);
}

/* Estilos para el campo de código */
#codeInputField {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

#codeInputField input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

#codeInputField input:focus {
    border-color: var(--primary-color);
}

/* Estilos para el botón */
#validateCodeBtn {
    padding: 10px 20px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#validateCodeBtn:hover {
    background-color: #45a049;
}

/* Estilo para el mensaje de validación */
#validationMessage {
    margin-top: 20px;
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
}

#validationMessage.success {
    background-color: var(--success-color);
    color: white;
}

#validationMessage.error {
    background-color: var(--error-color);
    color: white;
}

/* Estilo del mensaje condicional */
p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/*ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

ul li {
    font-size: 1rem;
    list-style-type: disc;
}*/

/* Estilos responsivos */
@media (max-width: 600px) {
    #codeValidationForm {
        padding: 15px;
        max-width: 100%;
    }

    #validateCodeBtn {
        font-size: 1rem;
    }
}

