.cotpl-popup-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, 0.75);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(1.02);
    box-sizing: border-box;
}

.cotpl-popup-ambient.cotpl-modal-active {
    opacity: 1;
    transform: scale(1);
}

.cotpl-neon-gradient-backdrop {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.cotpl-premium-glass-card {
    position: relative;
    background-color: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 28px;
    width: 92%;
    max-width: 440px;
    padding: 42px 32px;
    box-sizing: border-box;
    text-align: center;
    direction: rtl;
    color: #18181b !important;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25) !important;
}

body.dark-mode .cotpl-premium-glass-card,
html.dark-mode .cotpl-premium-glass-card,
[data-theme='dark'] .cotpl-premium-glass-card,
.dark-theme .cotpl-premium-glass-card {
    background-color: #121216 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f3e8ff !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6) !important;
}

.cotpl-card-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

body.dark-mode .cotpl-card-loading-overlay,
html.dark-mode .cotpl-card-loading-overlay,
[data-theme='dark'] .cotpl-card-loading-overlay,
.dark-theme .cotpl-card-loading-overlay {
    background: rgba(18, 18, 22, 0.9);
}

.cotpl-card-loading-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cotpl-spinner {
    width: 38px;
    height: 38px;
    border: 3.5px solid rgba(124, 58, 237, 0.15);
    border-left-color: #7c3aed;
    border-radius: 50%;
    animation: cotpl-spin 0.65s linear infinite;
}

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

.cotpl-dynamic-title {
    color: #18181b !important;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

body.dark-mode .cotpl-dynamic-title,
html.dark-mode .cotpl-dynamic-title,
[data-theme='dark'] .cotpl-dynamic-title,
.dark-theme .cotpl-dynamic-title {
    color: #ffffff !important;
}

.cotpl-dynamic-subtitle {
    color: #52525b !important;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

body.dark-mode .cotpl-dynamic-subtitle,
html.dark-mode .cotpl-dynamic-subtitle,
[data-theme='dark'] .cotpl-dynamic-subtitle,
.dark-theme .cotpl-dynamic-subtitle {
    color: #d4d4d8 !important;
}

.cotpl-floating-group {
    position: relative;
    margin-bottom: 20px;
    text-align: right;
}

.cotpl-floating-group input {
    width: 100%;
    padding: 16px 18px;
    background: #f8f7ff !important;
    border: 1.5px solid #e9d5ff !important;
    border-radius: 14px;
    outline: none;
    font-size: 15px;
    color: #18181b !important;
    font-weight: 700;
    direction: ltr;
    text-align: right;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.cotpl-floating-group input::selection {
    background: #7c3aed;
    color: #ffffff;
}

body.dark-mode .cotpl-floating-group input,
html.dark-mode .cotpl-floating-group input,
[data-theme='dark'] .cotpl-floating-group input,
.dark-theme .cotpl-floating-group input {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.cotpl-floating-group input:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
}

.cotpl-floating-group label {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #71717a !important;
    font-size: 13.5px;
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease;
}

body.dark-mode .cotpl-floating-group label,
html.dark-mode .cotpl-floating-group label,
[data-theme='dark'] .cotpl-floating-group label,
.dark-theme .cotpl-floating-group label {
    color: #a1a1aa !important;
}

.cotpl-floating-group input:focus ~ label,
.cotpl-floating-group input:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background: #7c3aed !important;
    padding: 2px 10px;
    color: #ffffff !important;
    border-radius: 30px;
    font-weight: 700;
}

.cotpl-btn-action-wrapper {
    margin-top: 15px;
}

.cotpl-btn-glowing-master {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
    border: none;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35) !important;
}

.cotpl-btn-glowing-master:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.5) !important;
}

.cotpl-minimal-channel-switch {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    font-size: 13px;
    color: #18181b !important;
}

body.dark-mode .cotpl-minimal-channel-switch,
html.dark-mode .cotpl-minimal-channel-switch,
[data-theme='dark'] .cotpl-minimal-channel-switch,
.dark-theme .cotpl-minimal-channel-switch {
    color: #d4d4d8 !important;
}

.cotpl-otp-box-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    direction: ltr;
    position: relative;
}

.cotpl-otp-cell {
    flex: 1 1 0;
    max-width: 52px;
    height: 56px;
    background: #f5f0ff !important;
    border: 1.5px solid #d8b4fe !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #1e1b4b !important;
    pointer-events: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark-mode .cotpl-otp-cell,
html.dark-mode .cotpl-otp-cell,
[data-theme='dark'] .cotpl-otp-cell,
.dark-theme .cotpl-otp-cell {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.cotpl-otp-cell.active-focus {
    border-color: #7c3aed !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4) !important;
    background: rgba(124, 58, 237, 0.12) !important;
}

.cotpl-strength-panel {
    margin: 12px 0 18px 0;
    text-align: right;
}

.cotpl-strength-progress-track {
    background: rgba(0, 0, 0, 0.08);
    height: 5px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

body.dark-mode .cotpl-strength-progress-track,
html.dark-mode .cotpl-strength-progress-track,
[data-theme='dark'] .cotpl-strength-progress-track,
.dark-theme .cotpl-strength-progress-track {
    background: rgba(255, 255, 255, 0.1);
}

.cotpl-strength-bar {
    width: 0%;
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.cotpl-strength-status-text {
    font-size: 11.5px;
    color: #71717a !important;
}

body.dark-mode .cotpl-strength-status-text,
html.dark-mode .cotpl-strength-status-text,
[data-theme='dark'] .cotpl-strength-status-text,
.dark-theme .cotpl-strength-status-text {
    color: #a1a1aa !important;
}

.cotpl-generate-password-trigger {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 17px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cotpl-generate-password-trigger:hover {
    opacity: 1;
}

.cotpl-sublink-btn {
    background: none;
    border: none;
    color: #7c3aed !important;
    text-decoration: underline !important;
    margin-top: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    transition: color 0.2s ease;
}

.cotpl-sublink-btn:hover {
    color: #5b21b6 !important;
}

body.dark-mode .cotpl-sublink-btn,
html.dark-mode .cotpl-sublink-btn,
[data-theme='dark'] .cotpl-sublink-btn,
.dark-theme .cotpl-sublink-btn {
    color: #c084fc !important;
}

body.dark-mode .cotpl-sublink-btn:hover,
html.dark-mode .cotpl-sublink-btn:hover,
[data-theme='dark'] .cotpl-sublink-btn:hover,
.dark-theme .cotpl-sublink-btn:hover {
    color: #e9d5ff !important;
}

.cotpl-modal-dismiss-trigger {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #71717a !important;
    line-height: 1;
    transition: color 0.2s ease;
}

.cotpl-modal-dismiss-trigger:hover {
    color: #ef4444 !important;
}

.cotpl-form-custom-footer {
    margin-top: 20px;
    font-size: 11.5px;
    color: #71717a !important;
}

body.dark-mode .cotpl-form-custom-footer,
html.dark-mode .cotpl-form-custom-footer,
[data-theme='dark'] .cotpl-form-custom-footer,
.dark-theme .cotpl-form-custom-footer {
    color: #a1a1aa !important;
}

.cotpl-form-custom-footer a {
    color: #7c3aed !important;
    text-decoration: none;
    font-weight: 700;
}

.cotpl-social-divider {
    display: flex;
    align-items: center;
    color: #71717a;
    margin: 20px 0;
    font-size: 11.5px;
}

.cotpl-social-divider::before,
.cotpl-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e4e4e7;
}

body.dark-mode .cotpl-social-divider::before,
body.dark-mode .cotpl-social-divider::after,
html.dark-mode .cotpl-social-divider::before,
html.dark-mode .cotpl-social-divider::after,
[data-theme='dark'] .cotpl-social-divider::before,
[data-theme='dark'] .cotpl-social-divider::after,
.dark-theme .cotpl-social-divider::before,
.dark-theme .cotpl-social-divider::after {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cotpl-social-divider::before { margin-left: 10px; }
.cotpl-social-divider::after { margin-right: 10px; }

.cotpl-form-divider {
    display: flex;
    align-items: center;
    color: #18181b;
    margin: 20px 0 15px 0;
    font-size: 12.5px;
    font-weight: 700;
}

body.dark-mode .cotpl-form-divider,
html.dark-mode .cotpl-form-divider,
[data-theme='dark'] .cotpl-form-divider,
.dark-theme .cotpl-form-divider {
    color: #ffffff;
}

.cotpl-form-divider::before,
.cotpl-form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e4e4e7;
}

body.dark-mode .cotpl-form-divider::before,
body.dark-mode .cotpl-form-divider::after,
html.dark-mode .cotpl-form-divider::before,
html.dark-mode .cotpl-form-divider::after,
[data-theme='dark'] .cotpl-form-divider::before,
[data-theme='dark'] .cotpl-form-divider::after,
.dark-theme .cotpl-form-divider::before,
.dark-theme .cotpl-form-divider::after {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cotpl-form-divider::before { margin-left: 10px; }
.cotpl-form-divider::after { margin-right: 10px; }

.cotpl-brand-shield {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 150px;
    height: 54px;
}

.cotpl-shimmer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cotpl-toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000000000 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cotpl-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    direction: rtl;
    animation: cotpl-toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cotpl-toast-success { border-right: 4px solid #10b981; }
.cotpl-toast-error { border-right: 4px solid #ef4444; }

@keyframes cotpl-toast-slide-in {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cotpl-toast.toast-fade-out {
    animation: cotpl-toast-slide-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cotpl-toast-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(110%); opacity: 0; }
}

.cotpl-checkout-gate {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 35px -15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

body.dark-mode .cotpl-checkout-gate,
html.dark-mode .cotpl-checkout-gate,
[data-theme='dark'] .cotpl-checkout-gate,
.dark-theme .cotpl-checkout-gate {
    background: #121216;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 35px -15px rgba(0, 0, 0, 0.3);
}

.cotpl-checkout-gate-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.cotpl-gate-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid #e9d5ff;
    color: #7c3aed;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

body.dark-mode .cotpl-gate-info-badge,
html.dark-mode .cotpl-gate-info-badge,
[data-theme='dark'] .cotpl-gate-info-badge,
.dark-theme .cotpl-gate-info-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.cotpl-gate-info-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: #18181b;
    line-height: 1.4;
}

body.dark-mode .cotpl-gate-info-title,
html.dark-mode .cotpl-gate-info-title,
[data-theme='dark'] .cotpl-gate-info-title,
.dark-theme .cotpl-gate-info-title {
    color: #ffffff;
}

.cotpl-gate-info-desc {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.8;
    color: #52525b;
}

body.dark-mode .cotpl-gate-info-desc,
html.dark-mode .cotpl-gate-info-desc,
[data-theme='dark'] .cotpl-gate-info-desc,
.dark-theme .cotpl-gate-info-desc {
    color: #d4d4d8;
}

.cotpl-gate-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.cotpl-gate-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #18181b;
}

body.dark-mode .cotpl-gate-info-list li,
html.dark-mode .cotpl-gate-info-list li,
[data-theme='dark'] .cotpl-gate-info-list li,
.dark-theme .cotpl-gate-info-list li {
    color: #e4e4e7;
}

.cotpl-gate-info-list li i {
    color: #7c3aed;
}

.cotpl-checkout-gate-formpanel #cotpl-system-node.cotpl-inline-ambient {
    width: 100%;
    display: block;
}

.cotpl-checkout-gate-formpanel .cotpl-premium-glass-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 24px;
}

@media (max-width: 768px) {
    .cotpl-checkout-gate-split { grid-template-columns: 1fr; gap: 20px; }
}

html:has(.cotpl-checkout-force-gate) #cotpl-system-node.cotpl-popup-ambient {
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

html:has(.cotpl-checkout-force-gate) #cotpl-system-node .cotpl-modal-dismiss-trigger {
    display: none !important;
}

#cotpl-force-binding-wrapper {
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#cotpl-force-binding-wrapper.cotpl-fade-exit {
    opacity: 0 !important;
    pointer-events: none !important;
}

#cotpl-force-binding-wrapper .cotpl-premium-glass-card {
    background-color: #121216 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

#cotpl-force-binding-wrapper h3,
#cotpl-force-binding-wrapper .cotpl-dynamic-title {
    color: #ffffff !important;
}

#cotpl-force-binding-wrapper p,
#cotpl-force-binding-wrapper .cotpl-dynamic-subtitle {
    color: #d4d4d8 !important;
}

#cotpl-force-binding-wrapper .cotpl-otp-cell {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

#cotpl-force-binding-wrapper .cotpl-otp-cell.active-focus {
    border-color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.2) !important;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5) !important;
}

#cotpl-force-binding-wrapper .cotpl-floating-group input {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

#cotpl-force-binding-wrapper .cotpl-floating-group label {
    color: #a1a1aa !important;
}

#cotpl-force-binding-wrapper #cotpl-btn-bind-back,
#cotpl-force-binding-wrapper .cotpl-sublink-btn {
    color: #c084fc !important;
    text-decoration: underline !important;
    transition: opacity 0.2s ease;
}

#cotpl-force-binding-wrapper #cotpl-btn-bind-back:hover,
#cotpl-force-binding-wrapper .cotpl-sublink-btn:hover {
    color: #ffffff !important;
}

#cotpl-force-binding-wrapper .cotpl-btn-glowing-master {
    color: #ffffff !important;
}


.cotpl-popup-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(1.02);
    box-sizing: border-box;
}

.cotpl-popup-ambient.cotpl-modal-active {
    opacity: 1;
    transform: scale(1);
}

.cotpl-neon-gradient-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--main-color, #7c3aed) 0%, transparent 70%);
    opacity: 0.16;
    z-index: -1;
    pointer-events: none;
}

.cotpl-premium-glass-card {
    position: relative;
    background-color: var(--bg-menu, #ffffff) !important;
    border: 1px solid var(--border-color, #e4e4e7) !important;
    border-radius: 28px;
    width: 92%;
    max-width: 440px;
    padding: 40px 32px;
    box-sizing: border-box;
    text-align: center;
    direction: rtl;
    color: var(--text-body, #18181b) !important;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.18) !important;
}

body.dark-mode .cotpl-premium-glass-card,
html.dark-mode .cotpl-premium-glass-card,
[data-theme='dark'] .cotpl-premium-glass-card,
.dark-theme .cotpl-premium-glass-card {
    background-color: var(--bg-menu, #121216) !important;
    border-color: var(--border-color, rgba(255, 255, 255, 0.12)) !important;
    color: var(--text-body, #f3e8ff) !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6) !important;
}

.cotpl-card-loading-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-menu, #ffffff);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    border-radius: 28px;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.cotpl-card-loading-overlay.active {
    opacity: 0.94;
    pointer-events: auto;
}

.cotpl-spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid color-mix(in srgb, var(--main-color, #7c3aed) 20%, transparent);
  border-left-color: var(--main-color, #7c3aed);
  border-radius: 50%;
  animation: cotpl-spin 0.65s linear infinite;
}

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

.cotpl-dynamic-title {
    color: var(--heading-special, #18181b) !important;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cotpl-dynamic-subtitle {
    color: var(--text-body, #52525b) !important;
    opacity: 0.8;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.cotpl-floating-group {
    position: relative;
    margin-bottom: 20px;
    text-align: right;
}

.cotpl-floating-group input {
    width: 100%;
    padding: 15px 18px;
    background: var(--hover-bg, #f8f7ff) !important;
    border: 1.5px solid var(--border-color, #e9d5ff) !important;
    border-radius: 14px;
    outline: none;
    font-size: 15px;
    color: var(--text-body, #18181b) !important;
    font-weight: 700;
    direction: ltr;
    text-align: right;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.cotpl-floating-group input::selection {
    background: var(--main-color, #7c3aed);
    color: #ffffff;
}

.cotpl-floating-group input:focus {
    border-color: var(--main-color, #7c3aed) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color, #7c3aed) 20%, transparent) !important;
}

.cotpl-floating-group label {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--text-body, #71717a) !important;
    opacity: 0.65;
    font-size: 13.5px;
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, background 0.2s ease;
}

.cotpl-floating-group input:focus ~ label,
.cotpl-floating-group input:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background: var(--main-color, #7c3aed) !important;
    padding: 2px 10px;
    color: #ffffff !important;
    opacity: 1 !important;
    border-radius: 30px;
    font-weight: 700;
}

.cotpl-btn-action-wrapper {
    margin-top: 15px;
}

.cotpl-btn-glowing-master {
    width: 100%;
    padding: 15px;
    background: var(--btn-bg, var(--main-color, #7c3aed)) !important;
    border: none;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--btn-text, #ffffff) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--main-color, #7c3aed) 30%, transparent) !important;
}

.cotpl-btn-glowing-master:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--main-color, #7c3aed) 45%, transparent) !important;
}

.cotpl-minimal-channel-switch {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-body, #18181b) !important;
}

.cotpl-minimal-channel-switch input[type="radio"] {
    accent-color: var(--main-color, #7c3aed) !important;
}

.cotpl-otp-box-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    direction: ltr;
    position: relative;
}

.cotpl-otp-cell {
    flex: 1 1 0;
    max-width: 52px;
    height: 56px;
    background: var(--hover-bg, #f5f0ff) !important;
    border: 1.5px solid var(--border-color, #d8b4fe) !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-special, #1e1b4b) !important;
    pointer-events: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cotpl-otp-cell.active-focus {
    border-color: var(--main-color, #7c3aed) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px color-mix(in srgb, var(--main-color, #7c3aed) 35%, transparent) !important;
    background: color-mix(in srgb, var(--main-color, #7c3aed) 10%, transparent) !important;
}

.cotpl-strength-panel {
    margin: 12px 0 18px 0;
    text-align: right;
}

.cotpl-strength-progress-track {
    background: color-mix(in srgb, var(--text-body, #000) 10%, transparent);
    height: 5px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.cotpl-strength-bar {
    width: 0%;
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.cotpl-strength-status-text {
    font-size: 11.5px;
    color: var(--text-body, #71717a) !important;
    opacity: 0.7;
}

.cotpl-generate-password-trigger {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 17px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cotpl-generate-password-trigger:hover {
    opacity: 1;
}

.cotpl-sublink-btn {
    background: none;
    border: none;
    color: var(--main-color, #7c3aed) !important;
    text-decoration: underline !important;
    margin-top: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.cotpl-sublink-btn:hover {
    opacity: 0.85;
}

.cotpl-modal-dismiss-trigger {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-body, #71717a) !important;
    opacity: 0.65;
    line-height: 1;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.cotpl-modal-dismiss-trigger:hover {
    color: #ef4444 !important;
    opacity: 1;
}

.cotpl-form-custom-footer {
    margin-top: 20px;
    font-size: 11.5px;
    color: var(--text-body, #71717a) !important;
    opacity: 0.8;
}

.cotpl-form-custom-footer a {
    color: var(--main-color, #7c3aed) !important;
    text-decoration: none;
    font-weight: 700;
}

.cotpl-social-divider {
    display: flex;
    align-items: center;
    color: var(--text-body, #71717a);
    opacity: 0.75;
    margin: 20px 0;
    font-size: 11.5px;
}

.cotpl-social-divider::before,
.cotpl-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color, #e4e4e7);
}

.cotpl-social-divider::before { margin-left: 10px; }
.cotpl-social-divider::after { margin-right: 10px; }

.cotpl-form-divider {
    display: flex;
    align-items: center;
    color: var(--heading-special, #18181b);
    margin: 20px 0 15px 0;
    font-size: 12.5px;
    font-weight: 700;
}

.cotpl-form-divider::before,
.cotpl-form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color, #e4e4e7);
}

.cotpl-form-divider::before { margin-left: 10px; }
.cotpl-form-divider::after { margin-right: 10px; }

.cotpl-brand-shield {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 150px;
    height: 54px;
}

.cotpl-shimmer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cotpl-toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000000000 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cotpl-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--bg-menu, #18181b);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--text-body, #ffffff);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    direction: rtl;
    animation: cotpl-toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cotpl-toast-success { border-right: 4px solid #10b981; }
.cotpl-toast-error { border-right: 4px solid #ef4444; }

@keyframes cotpl-toast-slide-in {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cotpl-toast.toast-fade-out {
    animation: cotpl-toast-slide-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cotpl-toast-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(110%); opacity: 0; }
}

.cotpl-checkout-gate {
    background: var(--bg-menu, #ffffff);
    border: 1px solid var(--border-color, #e4e4e7);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 12px 35px -15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.cotpl-checkout-gate-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.cotpl-gate-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--main-color, #7c3aed) 10%, transparent);
    border: 1px solid var(--border-color, #e9d5ff);
    color: var(--main-color, #7c3aed);
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cotpl-gate-info-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--heading-special, #18181b);
    line-height: 1.4;
}

.cotpl-gate-info-desc {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-body, #52525b);
}

.cotpl-gate-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.cotpl-gate-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-body, #18181b);
}

.cotpl-gate-info-list li i {
    color: var(--main-color, #7c3aed);
}

.cotpl-checkout-gate-formpanel #cotpl-system-node.cotpl-inline-ambient {
    width: 100%;
    display: block;
}

.cotpl-checkout-gate-formpanel .cotpl-premium-glass-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 24px;
}

@media (max-width: 768px) {
    .cotpl-checkout-gate-split { grid-template-columns: 1fr; gap: 20px; }
}

html:has(.cotpl-checkout-force-gate) #cotpl-system-node.cotpl-popup-ambient {
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

html:has(.cotpl-checkout-force-gate) #cotpl-system-node .cotpl-modal-dismiss-trigger {
    display: none !important;
}

#cotpl-force-binding-wrapper {
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#cotpl-force-binding-wrapper.cotpl-fade-exit {
    opacity: 0 !important;
    pointer-events: none !important;
}

#cotpl-force-binding-wrapper .cotpl-premium-glass-card {
    background-color: var(--bg-menu, #121216) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12)) !important;
    color: var(--text-body, #ffffff) !important;
}

#cotpl-force-binding-wrapper h3,
#cotpl-force-binding-wrapper .cotpl-dynamic-title {
    color: var(--heading-special, #ffffff) !important;
}

#cotpl-force-binding-wrapper p,
#cotpl-force-binding-wrapper .cotpl-dynamic-subtitle {
    color: var(--text-body, #d4d4d8) !important;
}

#cotpl-force-binding-wrapper .cotpl-otp-cell {
    background: var(--hover-bg, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--border-color, rgba(255, 255, 255, 0.2)) !important;
    color: var(--text-body, #ffffff) !important;
}

#cotpl-force-binding-wrapper .cotpl-otp-cell.active-focus {
    border-color: var(--main-color, #7c3aed) !important;
    background: color-mix(in srgb, var(--main-color, #7c3aed) 20%, transparent) !important;
    box-shadow: 0 0 15px color-mix(in srgb, var(--main-color, #7c3aed) 40%, transparent) !important;
}

#cotpl-force-binding-wrapper .cotpl-floating-group input {
    background: var(--hover-bg, rgba(255, 255, 255, 0.06)) !important;
    border-color: var(--border-color, rgba(255, 255, 255, 0.18)) !important;
    color: var(--text-body, #ffffff) !important;
}

#cotpl-force-binding-wrapper .cotpl-floating-group label {
    color: var(--text-body, #a1a1aa) !important;
}

#cotpl-force-binding-wrapper #cotpl-btn-bind-back,
#cotpl-force-binding-wrapper .cotpl-sublink-btn {
    color: var(--main-color, #c084fc) !important;
    text-decoration: underline !important;
    transition: opacity 0.2s ease;
}

#cotpl-force-binding-wrapper #cotpl-btn-bind-back:hover,
#cotpl-force-binding-wrapper .cotpl-sublink-btn:hover {
    opacity: 0.85;
}

#cotpl-force-binding-wrapper .cotpl-btn-glowing-master {
    color: var(--btn-text, #ffffff) !important;
}