* { box-sizing: border-box; margin: 0; padding: 0; }

.lp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999999;
}

.lp-modal {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px 20px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lp-modal h2 {
    font-family: var(--theme-font, sans-serif);
    font-size: 22px;
    font-weight: 700;
    color: #0d1f2d;
    margin-bottom: 18px;
}

.lp-modal p {
    font-family: var(--theme-font, sans-serif);
    font-size: 14px;
    color: #555;
    margin-bottom: 28px;
}

.lp-field { margin-bottom: 20px; }

.lp-field label {
    display: block;
    font-family: var(--theme-font, sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #0d1f2d;
    margin-bottom: 8px;
}

.lp-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.lp-flag {
    width: 28px;
    height: 21px;
    margin-left: 14px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
}

.lp-select-wrap select {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 36px 14px 10px;
    font-family: var(--theme-font, sans-serif);
    font-size: 15px;
    color: #0d1f2d;
    appearance: none;
    cursor: pointer;
    outline: none;
}

.lp-select-wrap select:disabled { color: #aaa; cursor: not-allowed; }

.lp-chevron {
    position: absolute;
    right: 14px;
    pointer-events: none;
    color: #666;
}

.lp-btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    border: 2.5px solid #0d1f2d;
    border-radius: 50px;
    background: transparent;
    font-family: var(--theme-font, sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: #0d1f2d;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lp-btn:hover:not(:disabled) { background: #0d1f2d; color: #fff; }

.lp-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.lp-btn.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lp-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #0d1f2d;
    border-radius: 50%;
    animation: lp-spin 0.7s linear infinite;
    flex-shrink: 0;
}

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