/* ============================================================
   Elementor Page Lock — Front-end Form Styles
   These are minimal defaults; Elementor controls everything
   around the shortcode, so we only style the form elements.
   ============================================================ */

.epl-form-wrapper {
    width: 100%;
}

/* Error banner */
.epl-error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    animation: epl-shake .4s ease;
}
.epl-error-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Label above the form */
.epl-form-label {
    margin: 0 0 12px;
    font-size: 15px;
    color: currentColor;
    opacity: .75;
}

/* Input row */
.epl-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.epl-password-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1e1e2e;
    transition: border-color .18s, box-shadow .18s;
    outline: none;
}
.epl-password-input::placeholder {
    color: #9ca3af;
}
.epl-password-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}

/* Submit button */
.epl-submit-button {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, transform .1s;
    flex-shrink: 0;
}
.epl-submit-button:hover {
    background: #4f46e5;
}
.epl-submit-button:active {
    transform: scale(.97);
}

/* Shake animation for errors */
@keyframes epl-shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-8px); }
    40%      { transform: translateX(8px); }
    60%      { transform: translateX(-5px); }
    80%      { transform: translateX(5px); }
}

/* Responsive */
@media (max-width: 480px) {
    .epl-input-row {
        flex-direction: column;
    }
    .epl-submit-button {
        width: 100%;
    }
}
