@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Ajustar el contenedor de UAGB */
.wp-block-uagb-container.uagb-root-container {
    width: 97% !important;
    max-width: 97% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Ajustar el formulario dentro del contenedor */
.frontend-form {
    width: 97% !important;
    max-width: 97% !important;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.frontend-form label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
}

.frontend-form input, 
.frontend-form select, 
.frontend-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.frontend-form input:focus,
.frontend-form select:focus,
.frontend-form textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    outline: none;
}

/* Botón Publicar */
.frontend-form button {
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 14px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
}

.frontend-form button:hover {
    background: #45a049;
    transform: scale(1.02);
}

/* Estilos del editor TinyMCE */
.mce-toolbar {
    background: #F0F0F0 !important;
    border: 1px solid #ddd !important;
    border-radius: 6px;
    padding: 5px;
}

.mce-container button {
    background: #e6e6e6 !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.mce-container button:hover {
    background: #d4d4d4 !important;
}

/* Botones Visual y HTML alineados */
.wp-editor-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 5px;
}

.wp-switch-editor {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.wp-switch-editor:hover {
    background-color: #e0e0e0;
}

.wp-switch-editor.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Ajuste para móviles */
@media screen and (max-width: 768px) {
    .wp-block-uagb-container.uagb-root-container,
    .frontend-form {
        width: 97% !important;
        max-width: 97% !important;
        padding: 10px;
    }
}





