/**
 * Unlimitr Auth Widget v2.0 Styles
 */

/* =========================================================================
   CSS VARIABLES
   ========================================================================= */

.ua-widget {
    --ua-primary: #0D3256;
    --ua-primary-hover: #0a2845;
    --ua-primary-light: rgba(13, 50, 86, 0.1);
    --ua-bg: #ffffff;
    --ua-bg-secondary: #f8fafc;
    --ua-text: #1e293b;
    --ua-text-muted: #64748b;
    --ua-border: #e2e8f0;
    --ua-error: #ef4444;
    --ua-success: #22c55e;
    --ua-radius: 16px;
    --ua-radius-sm: 10px;
    --ua-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --ua-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ua-widget.ua-theme-dark {
    --ua-primary: #1a4a7a;
    --ua-primary-hover: #0D3256;
    --ua-primary-light: rgba(13, 50, 86, 0.15);
    --ua-bg: #1e293b;
    --ua-bg-secondary: #334155;
    --ua-text: #f1f5f9;
    --ua-text-muted: #94a3b8;
    --ua-border: #475569;
}

/* =========================================================================
   BASE LAYOUT
   ========================================================================= */

.ua-widget {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    font-family: var(--ua-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ua-text);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ua-widget.open {
    opacity: 1;
    visibility: visible;
}

.ua-widget * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================================================
   BACKDROP
   ========================================================================= */

.ua-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================================================================
   MODAL
   ========================================================================= */

.ua-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    margin: 1rem;
    background: var(--ua-bg);
    border-radius: var(--ua-radius);
    box-shadow: var(--ua-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s ease;
    font-size: 14px;
    line-height: 1.5;
}

.ua-widget.open .ua-modal {
    transform: scale(1) translateY(0);
}

.ua-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

/* =========================================================================
   HEADER
   ========================================================================= */

.ua-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    /* border-bottom: 1px solid var(--ua-border); */
    gap: 12px;
}

.ua-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ua-bg-secondary);
    border: none;
    border-radius: 50%;
    color: var(--ua-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ua-back-btn:hover {
    background: var(--ua-border);
    color: var(--ua-text);
}

.ua-header-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.ua-logo {
    height: 32px;
    width: auto;
}

.ua-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ua-text);
}

.ua-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: var(--ua-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ua-close-btn:hover {
    background: var(--ua-bg-secondary);
    color: var(--ua-text);
}

/* =========================================================================
   TABS
   ========================================================================= */

.ua-tabs {
    display: flex;
    border-bottom: 1px solid var(--ua-border);
}

.ua-tab {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ua-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.ua-tab:hover {
    color: var(--ua-text);
    background: var(--ua-bg-secondary);
}

.ua-tab.active {
    color: var(--ua-primary);
    border-bottom-color: var(--ua-primary);
}

/* =========================================================================
   METHODS
   ========================================================================= */

.ua-methods {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    background: var(--ua-bg-secondary);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ua-methods::-webkit-scrollbar {
    display: none;
}

.ua-method {
    padding: 8px 16px;
    background: var(--ua-bg);
    border: 1px solid var(--ua-border);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ua-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.ua-method:hover {
    border-color: var(--ua-text-muted);
    color: var(--ua-text);
}

.ua-method.active {
    background: var(--ua-primary-light);
    border-color: var(--ua-primary);
    color: var(--ua-primary);
}

/* =========================================================================
   BODY / FORM
   ========================================================================= */

.ua-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.ua-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================================================================
   GOOGLE BUTTON
   ========================================================================= */

.ua-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: var(--ua-bg);
    border: 1px solid var(--ua-border);
    border-radius: var(--ua-radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ua-text);
    cursor: pointer;
    transition: all 0.2s;
}

.ua-google-btn:hover {
    background: var(--ua-bg-secondary);
    border-color: var(--ua-text-muted);
}

.ua-google-btn svg {
    flex-shrink: 0;
}

/* =========================================================================
   DIVIDER
   ========================================================================= */

.ua-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0;
    color: var(--ua-text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.ua-divider::before,
.ua-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ua-border);
}

/* =========================================================================
   FORM FIELDS
   ========================================================================= */

.ua-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ua-field label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ua-text);
}

.ua-field input,
.ua-field select {
    padding: 12px 16px;
    background: var(--ua-bg);
    border: 1px solid var(--ua-border);
    border-radius: var(--ua-radius-sm);
    font-size: 14px;
    line-height: 1.4;
    font-family: inherit;
    color: var(--ua-text);
    transition: all 0.2s;
}

/* Default width for inputs not inside phone-input */
.ua-field > input,
.ua-field > select {
    width: 100%;
}

.ua-field input::placeholder {
    color: var(--ua-text-muted);
}

.ua-field input:focus,
.ua-field select:focus {
    outline: none;
    border-color: var(--ua-primary);
    box-shadow: 0 0 0 3px var(--ua-primary-light);
}

.ua-field-error {
    font-size: 12px;
    line-height: 1.35;
    color: var(--ua-error);
    display: none;
}

.ua-field-error.show {
    display: block;
}

/* Phone Input - Wrapper approach like signup_v3 */
.ua-phone-input {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 100%;
    height: 48px;
    background: var(--ua-bg);
    border: 1px solid var(--ua-border);
    border-radius: var(--ua-radius-sm);
    overflow: hidden;
}

.ua-phone-input:focus-within {
    border-color: var(--ua-primary);
    box-shadow: 0 0 0 3px var(--ua-primary-light);
}

.ua-phone-input .ua-country-select {
    width: 100px !important;
    min-width: 100px;
    flex: 0 0 100px !important;
    height: 100%;
    padding: 0 8px 0 12px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 20px;
    border: none !important;
    border-right: 1px solid var(--ua-border) !important;
    border-radius: 0 !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box !important;
    font-size: 15px;
    color: var(--ua-text);
}

.ua-phone-input .ua-country-select:focus {
    outline: none;
    box-shadow: none;
}

.ua-phone-input input[type="tel"],
.ua-phone-input input[name="phone"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    font-family: inherit !important;
    color: var(--ua-text) !important;
}

.ua-phone-input input[type="tel"]:focus,
.ua-phone-input input[name="phone"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ua-phone-input input[type="tel"]::placeholder,
.ua-phone-input input[name="phone"]::placeholder {
    color: var(--ua-text-muted);
}

/* Password Input */
.ua-password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.ua-password-input input {
    padding-right: 48px;
    width: 100%;
}

.ua-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--ua-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.ua-password-toggle:hover {
    background: var(--ua-bg-secondary);
    color: var(--ua-text);
}

/* =========================================================================
   OTP INPUT
   ========================================================================= */

.ua-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ua-otp-input {
    width: 48px !important;
    height: 56px;
    padding: 0 !important;
    text-align: center;
    font-size: 24px !important;
    font-weight: 700;
    border-radius: var(--ua-radius-sm);
}

.ua-otp-input:focus {
    border-color: var(--ua-primary);
}

.ua-otp-info {
    text-align: center;
    padding: 16px;
    background: var(--ua-primary-light);
    border-radius: var(--ua-radius-sm);
    margin-bottom: 8px;
}

.ua-otp-info p {
    color: var(--ua-text-muted);
    margin-bottom: 4px;
}

.ua-otp-info strong {
    color: var(--ua-text);
    display: block;
    margin-bottom: 8px;
}

.ua-otp-info a {
    color: var(--ua-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.ua-otp-info a:hover {
    text-decoration: underline;
}

.ua-resend {
    text-align: center;
    font-size: 13px;
    color: var(--ua-text-muted);
}

.ua-resend a {
    color: var(--ua-primary);
    text-decoration: none;
    font-weight: 500;
}

.ua-resend a:hover {
    text-decoration: underline;
}

/* Shake animation for wrong OTP */
.ua-otp-inputs.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

/* =========================================================================
   INFO TEXT
   ========================================================================= */

.ua-info-text {
    color: var(--ua-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

/* =========================================================================
   ERROR MESSAGE
   ========================================================================= */

.ua-error-message {
    display: none;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--ua-error);
    border-radius: var(--ua-radius-sm);
    color: var(--ua-error);
    font-size: 13px;
    text-align: center;
}

.ua-error-message.show {
    display: block;
}

/* =========================================================================
   FORGOT LINK
   ========================================================================= */

.ua-forgot-link {
    text-align: right;
    margin-top: -8px;
}

.ua-forgot-link a {
    font-size: 12px;
    line-height: 1.35;
    color: var(--ua-primary);
    text-decoration: none;
}

.ua-forgot-link a:hover {
    text-decoration: underline;
}

/* =========================================================================
   SUBMIT BUTTON
   ========================================================================= */

.ua-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--ua-primary);
    border: none;
    border-radius: var(--ua-radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.ua-submit-btn:hover:not(:disabled) {
    background: var(--ua-primary-hover);
    transform: translateY(-1px);
}

.ua-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ua-btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.ua-submit-btn.loading .ua-btn-text {
    display: none;
}

.ua-submit-btn.loading .ua-btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.ua-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--ua-border);
    text-align: center;
    background: var(--ua-bg-secondary);
}

.ua-footer p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ua-text-muted);
}

.ua-footer a {
    color: var(--ua-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.ua-footer a:hover {
    text-decoration: underline;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* Tablet: base font stays 14px */
@media (max-width: 768px) {
    .ua-modal {
        font-size: 14px;
    }
}

/* Small devices: responsive font sizes */
@media (max-width: 480px) {
    .ua-modal {
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        font-size: 14px;
    }
    
    .ua-widget.open .ua-modal {
        transform: scale(0.9) translateY(0);
    }
    
    .ua-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .ua-close-btn {
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
    
    .ua-tab {
        font-size: 16px;
        line-height: 1.3;
        padding: 12px 14px;
    }
    
    .ua-method {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .ua-google-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .ua-divider {
        font-size: 12px;
    }
    
    .ua-field label {
        font-size: 14px;
    }
    
    .ua-field input,
    .ua-field select {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .ua-field-error {
        font-size: 11px;
    }
    
    .ua-submit-btn {
        font-size: 15px;
        padding: 12px 20px;
    }
    
    .ua-forgot-link a {
        font-size: 12px;
    }
    
    .ua-footer p {
        font-size: 13px;
    }
    
    .ua-otp-input {
        width: 42px !important;
        height: 50px;
        font-size: 18px !important;
    }
    
    .ua-otp-info a {
        font-size: 12px;
    }
    
    .ua-resend {
        font-size: 12px;
    }
    
    .ua-body {
        padding: 20px;
    }
    
    .ua-header {
        padding: 16px 20px;
    }
    
    /* Phone input responsive */
    .ua-phone-input {
        height: 44px;
    }
    
    .ua-phone-input .ua-country-select {
        width: 85px !important;
        min-width: 85px;
        flex: 0 0 85px !important;
        padding: 0 6px 0 10px !important;
        font-size: 14px !important;
    }
    
    .ua-phone-input input[type="tel"],
    .ua-phone-input input[name="phone"] {
        padding: 0 10px !important;
        font-size: 16px !important;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .ua-modal {
        font-size: 14px;
    }
    
    .ua-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .ua-tab {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .ua-field label {
        font-size: 14px;
    }
    
    .ua-field input,
    .ua-field select {
        font-size: 14px;
    }
    
    .ua-otp-input {
        width: 38px !important;
        height: 46px;
        font-size: 16px !important;
    }
    
    .ua-body {
        padding: 16px;
    }
    
    .ua-header {
        padding: 12px 16px;
    }
}

/* =========================================================================
   CHOOSE ACCOUNT (multiple users per phone)
   ========================================================================= */

.ua-choose-account {
    padding: 8px 0;
}

.ua-choose-account .ua-info-text {
    margin-bottom: 16px;
    color: var(--ua-text-muted);
    font-size: 14px;
}

.ua-linked-accounts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ua-account-option {
    display: block;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    background: var(--ua-bg-secondary);
    border: 1px solid var(--ua-border);
    border-radius: var(--ua-radius-sm);
    color: var(--ua-text);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ua-account-option:hover {
    background: var(--ua-primary-light);
    border-color: var(--ua-primary);
}

.ua-account-option .ua-account-email {
    font-weight: 500;
}

.ua-account-option.selected {
    background: var(--ua-primary-light);
    border-color: var(--ua-primary);
    color: var(--ua-primary);
}

/* Phone + Get accounts row (phone-password login) */
.ua-phone-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.ua-phone-row .ua-phone-input {
    flex: 1;
    min-width: 0;
}

.ua-get-accounts-btn {
    flex-shrink: 0;
    padding: 0 16px;
    height: 44px;
    border-radius: var(--ua-radius-sm);
    border: 1px solid var(--ua-primary);
    background: var(--ua-primary-light);
    color: var(--ua-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.ua-get-accounts-btn:hover {
    background: var(--ua-primary);
    color: #fff;
}

.ua-phone-accounts .ua-inline-accounts {
    margin-top: 4px;
}

/* Collapsed: show only selected account + Change account */
.ua-accounts-collapsed {
    margin-top: 4px;
}

.ua-selected-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ua-primary-light);
    border: 1px solid var(--ua-primary);
    border-radius: var(--ua-radius-sm);
}

.ua-selected-account-row .ua-account-email {
    font-weight: 500;
    color: var(--ua-text);
}

.ua-expand-accounts-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--ua-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.ua-expand-accounts-btn:hover {
    text-decoration: none;
}

/* =========================================================================
   SCROLLBAR
   ========================================================================= */

.ua-modal-content::-webkit-scrollbar {
    width: 6px;
}

.ua-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.ua-modal-content::-webkit-scrollbar-thumb {
    background: var(--ua-border);
    border-radius: 3px;
}

.ua-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--ua-text-muted);
}

/* =========================================================================
   NOT SUBSCRIBED MODAL (match login/signup popup UI)
   ========================================================================= */

/* Backdrop: same as auth widget when this modal is open */
body.unlimitr-not-subscribed-open .modal-backdrop {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.unlimitr-not-subscribed-modal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}

.unlimitr-not-subscribed-modal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
}

.unlimitr-not-subscribed-modal .modal-header {
    padding: 20px 24px;
    padding-right: 56px;
    border-bottom: none;
    align-items: flex-start;
    position: relative;
}

.unlimitr-not-subscribed-modal .modal-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin: 0;
    padding-right: 0.5rem;
}

.unlimitr-not-subscribed-modal .btn-close {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 36px;
    height: 36px;
    padding: 0.5rem;
    margin: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    border: none;
    border-radius: 50%;
    opacity: 0.85;
    transition: background-color 0.2s, opacity 0.2s;
}

.unlimitr-not-subscribed-modal .btn-close:hover {
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e293b'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    opacity: 1;
}

.unlimitr-not-subscribed-modal .btn-close:active, .unlimitr-not-subscribed-modal .btn-close:focus {
    outline: none;
    box-shadow: none;
}

.unlimitr-not-subscribed-modal .modal-body {
    padding: 0 24px 20px;
    color: #64748b;
    font-size: 14px;
}

.unlimitr-not-subscribed-modal .modal-footer {
    padding: 16px 24px 24px;
    border-top: 0px solid #e2e8f0;
    gap: 12px;
    flex-wrap: wrap;
}

/* Primary CTA - match ua-submit-btn */
.unlimitr-not-subscribed-modal .unlimitr-cta-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #0D3256;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: white !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s;
}

.unlimitr-not-subscribed-modal .unlimitr-cta-plans:hover {
    background: #0a2845;
    color: white !important;
    transform: translateY(-1px);
}

/* Secondary Close button - match auth secondary style */
.unlimitr-not-subscribed-modal .unlimitr-btn-close-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.unlimitr-not-subscribed-modal .unlimitr-btn-close-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #e2e8f0;
}
