.mepp-wrap {
    display: flex;
    width: 100%;
}

.mepp-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mepp-label {
    display: block;
}

.mepp-fields {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
}

.mepp-password-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid #d7d7d7;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.3;
    box-sizing: border-box;
}

.mepp-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.mepp-submit-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.mepp-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: mepp-spin 0.8s linear infinite;
}

.mepp-form.is-loading .mepp-spinner {
    display: inline-block;
}

.mepp-message {
    width: 100%;
    font-size: 14px;
    margin-top: 8px;
}

.mepp-message.is-error {
    color: #b00020;
}

.mepp-message.is-success {
    color: #107c10;
}

.mepp-notice {
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.mepp-editor-shortcodes input {
    width: 100%;
    padding: 8px;
    font-size: 11px;
    border: 1px solid #d5dadf;
    background: #fff;
    margin: 4px 0 10px;
}

@keyframes mepp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Elementor class-based visibility controls. Add these classes in Elementor > Advanced > CSS Classes. */
body:not(.elementor-editor-active).mepp-page-locked .mepp-show-after-password {
    display: none !important;
}

body:not(.elementor-editor-active).mepp-page-unlocked .mepp-hide-after-password {
    display: none !important;
}
