/* Wrapper to Center Content Vertically on Page (for Logged In View) */
.wpeol-wrapper-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Takes up half vertical viewport height */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.wpeol-logged-in-card {
    max-width: 450px;
    width: 100%;
}

.wpeol-logged-in-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

/* (Previous Styles Remain Below) */
.wpeol-container, .wpeol-modal {
    max-width: 400px; margin: 0 auto; background: #fff; padding: 40px 30px;
    border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); text-align: center;
    font-family: 'Segoe UI', sans-serif; position: relative; box-sizing: border-box;
}

.wpeol-logo { max-height: 60px; margin-bottom: 10px; display:inline-block; }

.wpeol-input { 
    width: 100%; padding: 14px 16px; margin-bottom: 15px; 
    border: 1px solid #ccc; border-radius: 6px; 
    box-sizing: border-box; font-size:16px; display: block;
}

.wpeol-btn-primary { 
    width: 100%; padding: 14px; 
    background: #3b82f6; color: #fff; border: none; cursor: pointer; 
    border-radius: 6px; font-weight: 600; font-size:15px; 
    text-transform: uppercase; transition: background 0.2s;
}
.wpeol-btn-primary:disabled { opacity: 0.7; cursor: wait; }

.wpeol-btn-secondary {
    width: 100%; padding: 14px; background: #3b82f6; color: #fff; border: none; cursor: pointer;
    border-radius: 6px; font-weight: 600; font-size:14px; text-transform: uppercase;
}
.wpeol-btn-secondary.wpeol-disabled, .wpeol-btn-secondary:disabled {
    background-color: #d1d5db !important; color: #6b7280 !important; cursor: not-allowed !important; pointer-events: none;
}

.wpeol-footer { margin-top: 25px; font-size: 13px; border-top: 1px solid #f3f4f6; padding-top: 15px; }
.wpeol-footer a { margin: 0 10px; color: #3b82f6; text-decoration: none; }

.wpeol-notice {
    padding: 12px 16px; border-radius: 6px; font-size: 14px; display: flex; align-items: center; text-align: left; margin-bottom: 20px; line-height: 1.4; width: 100%; box-sizing: border-box;
}
.wpeol-notice-icon { margin-right: 12px; display: flex; align-items: center; }
.wpeol-notice-icon svg { width: 20px; height: 20px; }
.wpeol-notice.success { background-color: #ecfdf5; border: 1px solid #d1fae5; color: #065f46; }
.wpeol-notice.success svg { fill: #059669; }
.wpeol-notice.error { background-color: #fef2f2; border: 1px solid #fee2e2; color: #991b1b; }
.wpeol-notice.error svg { fill: #dc2626; }

.wpeol-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.wpeol-overlay.active { opacity: 1; visibility: visible; }
.wpeol-close { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: #888; }