/* Estilos base para el widget Event Panorama Elementor */


/*
 * Clases personalizables:
 * - .epe-widget-wrapper
 * - .epe-item
 * - .epe-item-inner
 * - .epe-item-left
 * - .epe-item-right
 * - .epe-item-thumb
 * - .epe-item-date
 * - .epe-item-time
 * - .epe-item-title
 * - .epe-item-meta
 * - .epe-meta-address, .epe-meta-region, .epe-meta-comuna,
 *   .epe-meta-contact, .epe-meta-website, .epe-meta-price, .epe-meta-panorama
 * - .epe-item-excerpt
 * - .epe-pagination
 */


/* ==========================================================
   PANORAMAS: FORMULARIO FRONTEND [epe_panorama_submit]
   ========================================================== */
.epe-submit-form {
    width: 100%;
    padding: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.epe-submit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.epe-submit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.epe-submit-field--full {
    grid-column: 1 / -1;
}

.epe-submit-field label {
    font-weight: 700;
    font-size: 13px;
}

.epe-submit-field input,
.epe-submit-field select,
.epe-submit-field textarea {
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 9px 10px;
}

.epe-submit-actions {
    margin-top: 18px;
}

.epe-submit-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: #ff8050;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease all;
}

.epe-submit-button:hover {
    background: #222;
    color: #fff;
}

.epe-submit-message {
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-weight: 700;
}

.epe-submit-message--success {
    background: #e8f7ee;
    color: #1f7a3f;
    border: 1px solid #b9e4c8;
}

.epe-submit-message--error,
.epe-submit-message--denied {
    background: #fff0f0;
    color: #a72121;
    border: 1px solid #f0bcbc;
}

@media (max-width: 768px) {
    .epe-submit-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   PANORAMAS: ACCESO FRONTEND / LOGIN / REGISTRO
   ========================================================== */
.epe-submit-auth {
    width: 100%;
    padding: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.epe-submit-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.epe-submit-auth-box {
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.epe-submit-auth-box h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.epe-submit-auth input[type="text"],
.epe-submit-auth input[type="email"],
.epe-submit-auth input[type="password"] {
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 9px 10px;
}

.epe-submit-message--info {
    background: #eef8f6;
    color: #1d4a42;
    border: 1px solid #cfe8e2;
}

.epe-register-submit,
.epe-submit-logout-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: #1d4a42;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: .3s ease all;
}

.epe-register-submit:hover,
.epe-submit-logout-button:hover {
    background: #222;
    color: #fff;
}

/* Botón principal de envío solicitado */
.epe-submit-button {
    border: 0;
    border-radius: 999px;
    padding: 16px 34px;
    background: #c6e062;
    color: #1d4a42;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease all;
}

.epe-submit-button:hover {
    background: #f0f0f0;
    color: #1d4a42;
}

@media (max-width: 768px) {
    .epe-submit-auth-grid {
        grid-template-columns: 1fr;
    }

    .epe-submit-button {
        width: 100%;
    }
}


/* Botón caso 1: acceso / registro proveedor */
.epe-submit-auth-actions {
    margin-top: 18px;
    text-align: center;
}

.epe-submit-access-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: #c6e062;
    color: #1d4a42;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: .3s ease all;
}

.epe-submit-access-button:hover {
    background: #f0f0f0;
    color: #1d4a42;
}
