/* ==========================================================================
   Contenedor Principal y Títulos
   ========================================================================== */
.xvidspro-procomments-wrapper {
    width: 100%;
    margin: 30px 0;
    font-family: inherit;
    color: #e0e0e0; /* Gris muy claro para contraste en fondo oscuro */
    box-sizing: border-box;
}

.xvidspro-form-wrapper {
    background: transparent;
    padding: 0;
    margin-bottom: 40px;
    width: 100%;
}

.xvidspro-title {
    font-size: 1.3rem;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ==========================================================================
   Inputs y Textarea (Estilo Dark Profesional)
   ========================================================================== */
.xvidspro-form-group {
    margin-bottom: 18px;
    width: 100%;
}

.xvidspro-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#xvidspro-comment-form input[type="text"],
#xvidspro-comment-form textarea,
#xvidspro-comment-form input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo oscuro translúcido */
    color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

#xvidspro-comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

#xvidspro-comment-form input[type="text"]:focus,
#xvidspro-comment-form textarea:focus,
#xvidspro-comment-form input[type="number"]:focus {
    border-color: #9bd62c; /* Borde verde del tema WP-Script */
    outline: none;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(155, 214, 44, 0.15);
}

/* ==========================================================================
   Footer del Formulario (Captcha + Botón en línea)
   ========================================================================== */
.xvidspro-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.xvidspro-captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.xvidspro-captcha-box label {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
}

.xvidspro-robot-icon {
    font-size: 1.2rem;
    vertical-align: middle;
}

.xvidspro-captcha-box input[type="number"] {
    width: 70px;
    text-align: center;
    padding: 10px;
}

/* ==========================================================================
   Botón Principal
   ========================================================================== */
#xvidspro_submit_btn {
    background-color: #9bd62c;
    color: #111111;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(155, 214, 44, 0.2);
}

#xvidspro_submit_btn:hover {
    background-color: #a8e533;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 214, 44, 0.3);
}

#xvidspro_submit_btn:disabled {
    background-color: #444444;
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ==========================================================================
   Responsive (Móviles)
   ========================================================================== */
@media (max-width: 600px) {
    .xvidspro-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .xvidspro-captcha-box {
        justify-content: space-between;
        margin-bottom: 10px;
    }
    
    #xvidspro_submit_btn {
        width: 100%;
        padding: 14px;
    }
}
