/* ==========================================================================
   Email Verification Extended — Styles
   - Admin UI (Lagom-style design language, whmp_eve- namespace)
   - Client-side verification popup (variable driven, light/dark aware)
   All classes are namespaced whmp_eve- to avoid collisions. No inline styles.
   ========================================================================== */

/* ---- Shared data-row convention -----------------------------------------
   Every repeatable "row of data" carries this base class alongside a
   context-specific modifier, e.g.:
     whmp_eve-row whmp_eve-row--info    (Info tab table rows)
     whmp_eve-row whmp_eve-row--change  (Profile change email, changed rows)
   The .whmp_eve-row base carries no visual styling of its own; each
   --modifier defines its own layout/appearance.
--------------------------------------------------------------------------- */
.whmp_eve-row {
    box-sizing: border-box;
}

/* ==========================================================================
   ADMIN — Tab shell
   ========================================================================== */
.contentarea {
    padding: 0;
    background: #f7f7f7;
}

.contentarea h1 {
    display: none;
}

.whmp_eve_wrapper .main-tab,
.whmp_eve_wrapper .nav-tab {
    background: #fff;
}

.whmp_eve_wrapper .tab-content {
    height: 0px;
    overflow: hidden;
    padding: 0px;
    margin-top: 0px;
}

.whmp_eve_wrapper .tab-content.active {
    display: block;
    height: auto;
    padding: 15px 18px;
}

.whmp_eve_wrapper .dashboard_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 18px 10px;
    border-bottom: 1px solid #dde3ec;
}

.whmp_eve_wrapper .dashboard_header .tab-area {
    display: flex;
    align-items: center;
}

.whmp_eve_wrapper .company_logo {
    max-width: 120px;
}

.whmp_eve_wrapper .company_logo img {
    height: 20px;
    width: auto;
}

.whmp_eve_wrapper .main-tab .tab-area .logo {
    max-width: 44px;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(26, 77, 128, 0.25);
}

.whmp_eve_wrapper .main-tab .tab-area .logo img {
    max-width: 100%;
    height: auto;
}

.whmp_eve-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 0 14px;
}

.whmp_eve_wrapper .tab-area .title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #12233a;
    letter-spacing: -0.01em;
}

.whmp_eve-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #7c8794;
}

.whmp_eve_wrapper .nav-tab .dashboard_header {
    padding: 0 10px;
    align-items: stretch;
}

.whmp_eve_wrapper .nav-tab .dashboard_header .tab-area {
    align-items: stretch;
    font-size: 12px;
    padding: 5px 0 0 0;
}

.whmp_eve_wrapper .nav-tab .dashboard_header .tab-area span {
    margin-right: 3px;
}

.whmp_eve_wrapper .tab-area a.tab {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    margin: 0 4px;
    position: relative;
    color: #1a4d80;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.whmp_eve_wrapper .tab-area a.docs {
    display: flex;
    align-items: center;
    padding: 6px 20px;
    color: #1a4d80;
    text-decoration: none;
}

.whmp_eve_wrapper .tab-area a.tab.active,
.whmp_eve_wrapper .tab-area a.tab:hover {
    border-bottom-color: #1a4d80;
}

.whmp_eve-page-title {
    font-size: 26px;
    color: #1a4d80;
    font-weight: bolder;
    margin: 0 0 20px 0;
}

.whmp_eve-page-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    margin: -14px 0 20px 0;
}

/* ==========================================================================
   ADMIN — Buttons
   ========================================================================== */
.whmp_eve-btn {
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.whmp_eve-btn-primary {
    background-color: #1a4d80;
    color: #fff;
    border-color: #1a4d80;
}

.whmp_eve-btn-primary:hover {
    background-color: #fff;
    color: #1a4d80;
    border-color: #1a4d80;
}

.whmp_eve-btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.whmp_eve-btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

/* ==========================================================================
   ADMIN — Settings cards (bordered card with a light header band)
   ========================================================================== */
.whmp_eve-settings-form {
    max-width: 100%;
}

.whmp_eve-settings-card {
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    overflow: visible;
    margin-bottom: 20px;
    background: #fff;
}

.whmp_eve-settings-card:last-of-type {
    margin-bottom: 0;
}

.whmp_eve-settings-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #f2f6fb;
    border-bottom: 1px solid #e2e6ec;
    border-radius: 10px 10px 0 0;
}

.whmp_eve-settings-card-header i {
    color: #1a4d80;
    font-size: 15px;
}

.whmp_eve-settings-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #17293d;
    margin: 0;
}

.whmp_eve-settings-card-body {
    padding: 24px;
}

.whmp_eve-settings-card-body .whmp_eve-settings-form-row:last-child {
    margin-bottom: 0;
}

.whmp_eve-settings-card-body .whmp_eve-settings-form-row-toggle:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.whmp_eve-settings-form-row {
    margin-bottom: 16px;
}

.whmp_eve-settings-form-row > label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #444;
    margin-bottom: 5px;
}

.whmp_eve-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whmp_eve-input-wrap .whmp_eve-input {
    flex: 1;
}

.whmp_eve-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

.whmp_eve-input:focus {
    outline: none;
    border-color: #1a4d80;
    box-shadow: 0 0 0 2px rgba(26, 77, 128, 0.2);
}

.whmp_eve-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.whmp_eve-field-hint {
    display: block;
    font-size: 12px;
    color: #464646;
    margin-top: 4px;
}

.whmp_eve-settings-form-row-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.whmp_eve-settings-toggle-label label {
    font-weight: 600;
    font-size: 15px;
    color: #444;
    margin-bottom: 2px;
    display: block;
}

.whmp_eve-settings-toggle-label small {
    display: block;
    font-size: 12px;
    color: #464646;
    margin-top: 4px;
}

.whmp_eve-settings-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.whmp_eve-settings-note {
    background-color: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    color: #004085;
    margin: 14px 0;
    line-height: 1.5;
}

/* ==========================================================================
   ADMIN — Settings sections / fields
   ========================================================================== */
.whmp_eve-settings-section {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.whmp_eve-settings-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a4d80;
    margin-bottom: 15px;
}

.whmp_eve-settings-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.whmp_eve-settings-col {
    flex: 1;
    min-width: 260px;
}

.whmp_eve-settings-field {
    margin-bottom: 5px;
}

.whmp_eve-settings-field > label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.whmp_eve-settings-input,
.whmp_eve-settings-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

.whmp_eve-settings-textarea {
    min-height: 130px;
    resize: vertical;
    font-family: inherit;
}

.whmp_eve-settings-input:focus,
.whmp_eve-settings-textarea:focus {
    outline: none;
    border-color: #1a4d80;
    box-shadow: 0 0 0 2px rgba(26, 77, 128, 0.2);
}

.whmp_eve-field-hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 6px;
}

.whmp_eve-var-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 13px;
    color: #004085;
    line-height: 1.7;
    margin: 8px 0 0;
}

.whmp_eve-var-list strong {
    margin-bottom: 4px;
}

.whmp_eve-var-list b {
    font-family: monospace;
}

/* ==========================================================================
   ADMIN — Toggle switch
   ========================================================================== */
.whmp_eve-toggle-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    border: 1px solid #eef0f3;
    border-radius: 6px;
    margin-bottom: 12px;
}

.whmp_eve-toggle-field label {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.whmp_eve-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
}

.whmp_eve-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.whmp_eve-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.whmp_eve-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.whmp_eve-switch input:checked + .whmp_eve-slider {
    background-color: #1a4d80;
}

.whmp_eve-switch input:checked + .whmp_eve-slider:before {
    transform: translateX(18px);
}

/* ==========================================================================
   ADMIN — Colour fields (Client Area Theme tab)
   ========================================================================== */
.whmp_eve-color-field {
    display: flex;
    gap: 8px;
    align-items: center;
}

.whmp_eve-color-text {
    flex: 1;
}

.whmp_eve-color-picker {
    padding: 0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    background: none;
}

.whmp_eve-reset-color-wrapper {
    margin-top: 5px;
}

.whmp_eve-reset-color {
    font-size: 12px;
    color: #1a4d80;
    text-decoration: none;
}

.whmp_eve-reset-color:hover {
    text-decoration: underline;
}

.whmp_eve-lagom-note {
    background-color: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    color: #004085;
    margin-bottom: 15px;
    line-height: 1.5;
}

.whmp_eve-settings-row-divider {
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.whmp_eve-save-btn-container {
    margin-top: 20px;
}

.whmp_eve-hidden {
    display: none;
}

.whmp_eve-tooltip {
    cursor: help;
    color: #6b7280;
}

/* Radio styled cards (toggle mode configuration) */
.whmp_eve-radio-group-label {
    font-weight: 600;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

.whmp_eve-radio-card-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.whmp_eve-radio-card {
    flex: 1;
    min-width: 180px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

.whmp_eve-radio-card:hover {
    border-color: #1a4d80;
    background: #fdfdfd;
}

.whmp_eve-radio-card.active {
    border-color: #1a4d80;
    background: #f4f8fc;
    box-shadow: 0 0 0 2px rgba(26, 77, 128, 0.15);
}

.whmp_eve-radio-card input[type="radio"] {
    margin: 3px 0 0 0;
    cursor: pointer;
}

.whmp_eve-radio-card-content {
    display: flex;
    flex-direction: column;
}

.whmp_eve-radio-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.whmp_eve-radio-card-desc {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    line-height: 1.3;
}

/* ==========================================================================
   ADMIN — Info table (zebra)
   ========================================================================== */
.whmp_eve-info-table {
    width: 60%;
    min-width: 320px;
    font-size: 16px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.whmp_eve-row-1 {
    background-color: #fff;
}

.whmp_eve-row-2 {
    /*background-color: #e6eef7;*/
}

.whmp_eve-info-table tr {
    border: 1px solid #e0dfdf;
}

.whmp_eve-info-table th {
    padding: 18px 20px;
    text-align: left;
    color: #1a4d80;
    font-weight: 600;
}

.whmp_eve-info-table td {
    text-align: right;
    padding: 18px 20px;
    word-break: break-word;
}

.whmp_eve-info-table a {
    color: #1a4d80;
    text-decoration: none;
}

.whmp_eve-info-table a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   ADMIN — License notice (shown while the key is missing or invalid)
   ========================================================================== */
.whmp_eve-license-notice {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    padding: 24px;
    margin: 15px 18px;
}

.whmp_eve-license-notice h3 {
    margin: 0 0 10px;
    color: #1a4d80;
}

.whmp_eve-license-notice p {
    margin: 0 0 6px;
    color: #464646;
}

/* ==========================================================================
   ADMIN — License refresh + toast alert
   ========================================================================== */
.whmp_eve_wrapper i.fas.fa-sync-alt {
    cursor: pointer;
}

.whmp_eve_wrapper .rotate-icon {
    animation: whmp_eve_spin 1s linear infinite;
}

@keyframes whmp_eve_spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.whmp_eve_wrapper .custom_alert {
    display: none;
    justify-content: space-between;
    padding: 10px;
    margin: 0 0 10px 0;
}

.whmp_eve_wrapper .custom_alert button {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
}

#save_settings_alert {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    margin-left: 0;
    max-width: 420px;
    min-width: 260px;
    padding: 14px 18px;
    border-radius: 5px;
    border: 1px solid transparent;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 100000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

#save_settings_alert.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#save_settings_alert.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#save_settings_alert #close-button {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    top: 0;
    line-height: 1;
}

#save_settings_alert #close-button:hover {
    background: none !important;
    color: inherit !important;
}

/* Loaders hidden by default */
#loader, #smtp_loader, #test_loader, #email_content_loader, #profile_email_content_loader {
    display: none;
}

/* ==========================================================================
   ADMIN — Custom Select (single-select) component
   ========================================================================== */
.whmp_eve_wrapper .whmp_eve-cselect {
    position: relative;
    width: 100%;
}

.whmp_eve_wrapper select.whmp_eve-cselect-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.whmp_eve_wrapper .whmp_eve-cselect-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.whmp_eve_wrapper .whmp_eve-cselect-trigger:hover,
.whmp_eve_wrapper .whmp_eve-cselect.open .whmp_eve-cselect-trigger {
    border-color: #1a4d80;
}

.whmp_eve_wrapper .whmp_eve-cselect.open .whmp_eve-cselect-trigger {
    box-shadow: 0 0 0 3px rgba(26, 77, 128, 0.15);
}

.whmp_eve_wrapper .whmp_eve-cselect-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.whmp_eve_wrapper .whmp_eve-cselect-caret {
    flex-shrink: 0;
    font-size: 12px;
    color: #666;
    transition: transform 0.2s ease;
}

.whmp_eve_wrapper .whmp_eve-cselect.open .whmp_eve-cselect-caret {
    transform: rotate(180deg);
}

.whmp_eve_wrapper .whmp_eve-cselect-list {
    /* position/top/left/width are set dynamically in JS (see
       whmpEvePositionCselectList() in js/scripts.js) using position: fixed,
       computed from the trigger's on-screen coordinates. This lets the
       dropdown escape any ancestor with overflow: hidden/auto (a settings
       card, a table cell) instead of being visually clipped. The values
       below only matter for the instant before JS positions it on open. */
    position: fixed;
    z-index: 100060;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 260px;
    overflow-y: auto;
    display: none;
}

.whmp_eve_wrapper .whmp_eve-cselect.open .whmp_eve-cselect-list {
    display: block;
}

/* Search box injected only when the select has more than 10 options
   (see WHMP_EVE_CSELECT_SEARCH_THRESHOLD in js/scripts.js) */
.whmp_eve_wrapper .whmp_eve-cselect-search {
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    box-sizing: border-box;
    font-size: 13px;
    color: #333;
    background: #fff;
}

.whmp_eve_wrapper .whmp_eve-cselect-search:focus {
    border-color: #1a4d80;
    box-shadow: 0 0 0 2px rgba(26, 77, 128, 0.15);
}

.whmp_eve_wrapper .whmp_eve-cselect-option {
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.whmp_eve_wrapper .whmp_eve-cselect-option:hover {
    background: #f3f4f6;
    color: #1a4d80;
}

.whmp_eve_wrapper .whmp_eve-cselect-option.selected {
    background: #1a4d80;
    color: #fff;
}

.whmp_eve_wrapper .whmp_eve-cselect-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.whmp_eve_wrapper .whmp_eve-cselect-list::-webkit-scrollbar {
    width: 6px;
}

.whmp_eve_wrapper .whmp_eve-cselect-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

/* ==========================================================================
   ADMIN — Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .whmp_eve-info-table {
        width: 100%;
    }
    .whmp_eve_wrapper .dashboard_header {
        flex-direction: column;
        gap: 15px;
    }
    .whmp_eve_wrapper .dashboard_header .tab-area {
        flex-wrap: wrap;
        justify-content: center;
    }
    .whmp_eve-header-text {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }
    .whmp_eve-settings-col {
        min-width: 100%;
    }
    .whmp_eve-settings-row {
        flex-direction: column;
        gap: 12px;
    }
    .whmp_eve-settings-card-body {
        padding: 16px;
    }
    .whmp_eve-settings-form-row-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .whmp_eve-settings-actions {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   CLIENT — Verification popup (variable driven, non-Lagom light/dark)
   The --whmp_eve-* variables are injected per-install by the module (derived
   from the admin's Primary/Secondary colours + Theme Mode). Fallbacks below
   keep the popup usable even before variables load.
   ========================================================================== */
.whmp_eve-wrapper {
    --whmp_eve-overlay: rgba(0, 0, 0, 0.7);
    --whmp_eve-box-bg: #ffffff;
    --whmp_eve-head-bg: #f5f5f5;
    --whmp_eve-title: #333333;
    --whmp_eve-text: #555555;
    --whmp_eve-muted: #6b7280;
    --whmp_eve-border: #dddddd;
    --whmp_eve-input-bg: #ffffff;
    --whmp_eve-input-text: #626262;
    --whmp_eve-primary: #1a4d80;
    --whmp_eve-secondary: #153d66;
    --whmp_eve-btn-hover: #153d66;
}

#email-verification-popup.whmp_eve-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--whmp_eve-overlay);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.whmp_eve-popup-box {
    background: var(--whmp_eve-box-bg);
    padding: 0;
    border-radius: 6px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.whmp_eve-popup-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--whmp_eve-head-bg);
    min-height: 55px;
    padding: 10px 15px;
}

.whmp_eve-popup-title {
    margin: 0;
    color: var(--whmp_eve-title);
    font-size: 20px;
}

.whmp_eve-popup-close {
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.whmp_eve-popup-close i {
    padding: 0 6px;
    font-size: 19px;
    color: var(--whmp_eve-primary);
}

.whmp_eve-popup-body {
    padding: 22px 20px 24px;
    color: var(--whmp_eve-text);
}

.whmp_eve-popup-body p {
    margin: 0 0 6px;
    color: var(--whmp_eve-text);
}

.whmp_eve-popup-body h3 {
    color: var(--whmp_eve-title);
    margin: 0 0 8px;
}

.whmp_eve-spinner {
    animation: whmp_eve_spin 1s linear infinite;
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--whmp_eve-primary);
}

.whmp_eve-code-input {
    margin: 15px 0;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    vertical-align: top;
    border: 1px solid var(--whmp_eve-border);
    color: var(--whmp_eve-input-text);
    outline: 0;
    background: var(--whmp_eve-input-bg);
    height: 40px;
    border-radius: 4px;
    font-size: 14px;
}

.whmp_eve-code-input:focus {
    border-color: var(--whmp_eve-primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 128, 0.12);
}

.whmp_eve-popup-body .whmp_eve-btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid var(--whmp_eve-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.whmp_eve-popup-body .whmp_eve-btn-primary {
    background-color: var(--whmp_eve-primary);
    color: #fff;
}

.whmp_eve-popup-body .whmp_eve-btn-primary:hover {
    background-color: var(--whmp_eve-btn-hover);
    border-color: var(--whmp_eve-btn-hover);
}

/* ==========================================================================
   CLIENT — Popup responsive
   ========================================================================== */
@media (max-width: 576px) {
    .whmp_eve-popup-box {
        width: 94%;
        max-width: 94%;
    }
    .whmp_eve-popup-title {
        font-size: 18px;
    }
    .whmp_eve-popup-body {
        padding: 18px 15px 20px;
    }
    .whmp_eve-spinner {
        font-size: 34px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .whmp_eve-popup-box {
        max-width: 380px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .whmp_eve-popup-box {
        max-width: 400px;
    }
}

@media (min-width: 1025px) {
    .whmp_eve-popup-box {
        max-width: 420px;
    }
}
