/* -----------------------------------------------------------
   ESTILOS BASE PARA EL FORMULARIO DE PREDICCIÓN (TEMA OSCURO)
----------------------------------------------------------- */
.wp-fpps-form-container {
    background-color: #2d3748;
    border: 1px solid #4a5568;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #e2e8f0;
}

.wp-fpps-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #cbd5e0;
}

.wp-fpps-form-container input[type="text"],
.wp-fpps-form-container input[type="number"],
.wp-fpps-form-container select,
.wp-fpps-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    background-color: #1a202c;
    border: 1px solid #4a5568;
    border-radius: 6px;
    font-size: 1rem;
    color: #e2e8f0;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: 50px;
}

.wp-fpps-form-container textarea {
    height: auto;
    min-height: 120px;
}

.wp-fpps-form-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0aec0'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.wp-fpps-form-container input[type="number"] {
    text-align: center;
    font-size: 1.1rem;
}

.wp-fpps-form-container input:focus,
.wp-fpps-form-container select:focus,
.wp-fpps-form-container textarea:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
    outline: none;
}

.wp-fpps-form-container button {
    background-color: #4299e1;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin: 10px 0 0 0;
    display: block;
}

.wp-fpps-form-container button:hover {
    background-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wp-fpps-form-container .hidden-input {
    display: none;
}

/* -----------------------------------------------------------
   ESTILOS PARA EL MODAL DE CONFIRMACIÓN (TEMA OSCURO)
----------------------------------------------------------- */
.wp-modal-type-01-wpcp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.wp-modal-type-01-wpcp-modal-content {
    background-color: #2d3748;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #4a5568;
    color: #e2e8f0;
}

.wp-modal-type-01-wpcp-modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.2s ease;
}

.wp-modal-type-01-wpcp-modal-close-button:hover {
    color: #fff;
}

.wp-modal-type-01-wpcp-modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #4a5568;
    font-weight: 600;
}

.wp-modal-type-01-wpcp-modal-body {
    margin: 20px 0;
}

.wp-modal-type-01-wpcp-modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #cbd5e0;
    font-size: 1.1rem;
}

.wp-modal-type-01-wpcp-modal-data-display {
    margin: 25px 0;
    padding: 20px;
    background-color: #1a202c;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
}

.wp-modal-type-01-wpcp-modal-data-table {
    width: 100%;
    border-collapse: collapse;
}

.wp-modal-type-01-wpcp-modal-data-table tr {
    border-bottom: 1px solid #4a5568;
}

.wp-modal-type-01-wpcp-modal-data-table tr:last-child {
    border-bottom: none;
}

.wp-modal-type-01-wpcp-modal-data-key {
    font-weight: 600;
    padding: 12px 10px 12px 0;
    width: 35%;
    vertical-align: top;
    color: #a0aec0;
}

.wp-modal-type-01-wpcp-modal-data-value {
    padding: 12px 0;
    width: 65%;
    color: #fff;
}

.wp-modal-type-01-wpcp-modal-button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.wp-modal-type-01-wpcp-modal-button {
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.wp-modal-type-01-wpcp-modal-button-confirm {
    background-color: #48bb78;
    color: white;
}

.wp-modal-type-01-wpcp-modal-button-confirm:hover {
    background-color: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wp-modal-type-01-wpcp-modal-button-cancel {
    background-color: #f56565;
    color: white;
}

.wp-modal-type-01-wpcp-modal-button-cancel:hover {
    background-color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------------------------------
   ESTILOS PARA EL MODAL DE RESPUESTA (TEMA OSCURO)
----------------------------------------------------------- */
.wpcp-response-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.wpcp-response-modal-content {
    background-color: #2d3748;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #4a5568;
}

.wpcp-response-modal h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.wpcp-response-modal p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e0;
}

.wpcp-response-button {
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.wpcp-response-success {
    background-color: #48bb78;
    color: white;
}

.wpcp-response-success:hover {
    background-color: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wpcp-response-warning {
    background-color: #ed8936;
    color: white;
}

.wpcp-response-warning:hover {
    background-color: #dd6b20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wpcp-response-error {
    background-color: #f56565;
    color: white;
}

.wpcp-response-error:hover {
    background-color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* -----------------------------------------------------------
   MEDIA QUERIES PARA RESPONSIVIDAD
----------------------------------------------------------- */
@media (max-width: 768px) {
    .wp-fpps-form-container {
        padding: 20px;
    }
    
    .wp-fpps-form-container input[type="text"],
    .wp-fpps-form-container input[type="number"],
    .wp-fpps-form-container select,
    .wp-fpps-form-container textarea {
        height: 46px;
    }
    
    .wp-fpps-form-container button,
    .wp-modal-type-01-wpcp-modal-button,
    .wpcp-response-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .wp-modal-type-01-wpcp-modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .wp-modal-type-01-wpcp-modal-title {
        font-size: 1.5rem;
    }
    
    .wpcp-response-modal-content {
        padding: 30px 20px;
    }
    
    .wpcp-response-modal h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .wp-fpps-form-container {
        padding: 15px;
    }
    
    .wp-fpps-form-container input[type="text"],
    .wp-fpps-form-container input[type="number"],
    .wp-fpps-form-container select,
    .wp-fpps-form-container textarea {
        height: 44px;
        padding: 10px 12px;
    }
    
    .wp-fpps-form-container button,
    .wp-modal-type-01-wpcp-modal-button,
    .wpcp-response-button {
        padding: 12px 16px;
    }
    
    .wp-modal-type-01-wpcp-modal-content {
        padding: 20px 15px;
    }
    
    .wp-modal-type-01-wpcp-modal-title {
        font-size: 1.3rem;
    }
    
    .wpcp-response-modal-content {
        padding: 25px 15px;
    }
    
    .wpcp-response-modal h3 {
        font-size: 1.3rem;
    }
}