/**
 * WHMCS WordPress Plugin - Frontend Styles
 * Dark Glass / Cybersec / Cloud Computing Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --whmcs-bg-primary: #0d0d0f;
    --whmcs-bg-secondary: #141418;
    --whmcs-bg-tertiary: #1a1a1f;
    --whmcs-bg-card: rgba(26, 26, 31, 0.8);
    --whmcs-bg-glass: rgba(26, 26, 31, 0.6);
    --whmcs-border: rgba(255, 255, 255, 0.08);
    --whmcs-border-light: rgba(255, 255, 255, 0.12);
    --whmcs-text-primary: #ffffff;
    --whmcs-text-secondary: #a0a0a8;
    --whmcs-text-muted: #6b6b73;
    --whmcs-accent-orange: #ff6b35;
    --whmcs-accent-orange-dark: #e55a2b;
    --whmcs-accent-yellow: #ffc107;
    --whmcs-accent-green: #10b981;
    --whmcs-accent-cyan: #06b6d4;
    --whmcs-accent-blue: #3b82f6;
    --whmcs-error: #ef4444;
    --whmcs-success: #10b981;
    --whmcs-gradient-orange: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --whmcs-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
    --whmcs-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --whmcs-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --whmcs-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --whmcs-shadow-glow: 0 0 30px rgba(255, 107, 53, 0.15);
    --whmcs-radius-sm: 8px;
    --whmcs-radius-md: 12px;
    --whmcs-radius-lg: 16px;
    --whmcs-radius-xl: 24px;
    --whmcs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Widget Container */
.whmcs-wp-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--whmcs-bg-primary);
    color: var(--whmcs-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}

.whmcs-wp-widget * {
    box-sizing: border-box;
}

.whmcs-wp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
}

/* Progress Steps */
.whmcs-wp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    padding: 24px;
    background: var(--whmcs-bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--whmcs-border);
    border-radius: var(--whmcs-radius-xl);
}

.whmcs-wp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.whmcs-wp-step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--whmcs-bg-tertiary);
    border: 2px solid var(--whmcs-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--whmcs-text-muted);
    transition: var(--whmcs-transition);
    position: relative;
}

.whmcs-wp-step-circle .step-number {
    transition: var(--whmcs-transition);
}

.whmcs-wp-step-circle .step-check {
    width: 20px;
    height: 20px;
    position: absolute;
    opacity: 0;
    transition: var(--whmcs-transition);
}

.whmcs-wp-step.active .whmcs-wp-step-circle {
    background: var(--whmcs-gradient-orange);
    border-color: var(--whmcs-accent-orange);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.whmcs-wp-step.completed .whmcs-wp-step-circle {
    background: var(--whmcs-accent-green);
    border-color: var(--whmcs-accent-green);
    color: white;
}

.whmcs-wp-step.completed .whmcs-wp-step-circle .step-number {
    opacity: 0;
}

.whmcs-wp-step.completed .whmcs-wp-step-circle .step-check {
    opacity: 1;
}

.whmcs-wp-step-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--whmcs-text-muted);
    transition: var(--whmcs-transition);
    white-space: nowrap;
}

.whmcs-wp-step.active .whmcs-wp-step-label,
.whmcs-wp-step.completed .whmcs-wp-step-label {
    color: var(--whmcs-text-primary);
}

.whmcs-wp-step-line {
    flex: 1;
    height: 2px;
    background: var(--whmcs-border-light);
    margin: 0 16px;
    margin-bottom: 30px;
    max-width: 100px;
    transition: var(--whmcs-transition);
}

.whmcs-wp-step.completed + .whmcs-wp-step-line {
    background: var(--whmcs-accent-green);
}

/* Step Content */
.whmcs-wp-step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.whmcs-wp-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whmcs-wp-step-header {
    text-align: center;
    margin-bottom: 40px;
}

.whmcs-wp-step-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, var(--whmcs-text-primary) 0%, var(--whmcs-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whmcs-wp-step-header p {
    font-size: 15px;
    color: var(--whmcs-text-secondary);
    margin: 0;
}

/* Product Cards */
.whmcs-wp-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.whmcs-wp-product-card {
    background: var(--whmcs-bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--whmcs-border);
    border-radius: var(--whmcs-radius-lg);
    padding: 24px;
    position: relative;
    cursor: pointer;
    transition: var(--whmcs-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.whmcs-wp-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: var(--whmcs-transition);
}

.whmcs-wp-product-card:hover {
    border-color: var(--whmcs-accent-orange);
    transform: translateY(-4px);
    box-shadow: var(--whmcs-shadow-lg), 0 0 30px rgba(255, 107, 53, 0.1);
}

.whmcs-wp-product-card:hover::before {
    background: var(--whmcs-gradient-orange);
}

.whmcs-wp-product-card.featured {
    border-color: var(--whmcs-accent-orange);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, var(--whmcs-bg-glass) 100%);
}

.whmcs-wp-product-card.featured::before {
    background: var(--whmcs-gradient-orange);
}

.whmcs-wp-product-card.selected {
    border-color: var(--whmcs-accent-orange);
    box-shadow: var(--whmcs-shadow-glow);
}

.whmcs-wp-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--whmcs-gradient-orange);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whmcs-wp-product-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--whmcs-border);
}

.whmcs-wp-product-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--whmcs-text-primary);
    padding-right: 70px;
}

.whmcs-wp-product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.whmcs-wp-product-price .price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--whmcs-text-primary);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -1px;
}

.whmcs-wp-product-price .price-currency {
    font-size: 14px;
    font-weight: 600;
    color: var(--whmcs-accent-orange);
}

.whmcs-wp-product-price .price-period {
    font-size: 13px;
    color: var(--whmcs-text-muted);
}

.whmcs-wp-product-description {
    font-size: 13px;
    color: var(--whmcs-text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}

.whmcs-wp-product-description strong {
    color: var(--whmcs-accent-orange);
    font-weight: 600;
}

.whmcs-wp-product-features {
    font-size: 12px;
    color: var(--whmcs-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.whmcs-wp-product-features .feature-label {
    color: var(--whmcs-text-primary);
    font-weight: 500;
}

.whmcs-wp-product-features .feature-value {
    color: var(--whmcs-text-secondary);
}

.whmcs-wp-product-features .feature-highlight {
    color: var(--whmcs-accent-orange);
    font-weight: 500;
}

.whmcs-wp-product-group {
    margin-bottom: 16px;
}

.whmcs-wp-product-group .group-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--whmcs-text-muted);
    background: var(--whmcs-bg-tertiary);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--whmcs-border);
}

/* Buttons */
.whmcs-wp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--whmcs-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--whmcs-transition);
    text-decoration: none;
}

.whmcs-wp-btn svg {
    width: 18px;
    height: 18px;
}

.whmcs-wp-btn-select {
    width: 100%;
    background: var(--whmcs-bg-tertiary);
    color: var(--whmcs-text-primary);
    border: 1px solid var(--whmcs-border-light);
}

.whmcs-wp-btn-select:hover {
    background: var(--whmcs-gradient-orange);
    border-color: var(--whmcs-accent-orange);
}

.whmcs-wp-product-card.selected .whmcs-wp-btn-select {
    background: var(--whmcs-gradient-orange);
    border-color: var(--whmcs-accent-orange);
}

.whmcs-wp-btn-primary {
    background: var(--whmcs-gradient-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.whmcs-wp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.whmcs-wp-btn-secondary {
    background: var(--whmcs-bg-tertiary);
    color: var(--whmcs-text-primary);
    border: 1px solid var(--whmcs-border-light);
}

.whmcs-wp-btn-secondary:hover {
    background: var(--whmcs-bg-secondary);
    border-color: var(--whmcs-text-muted);
}

.whmcs-wp-btn-full {
    width: 100%;
}

/* Auth Tabs */
.whmcs-wp-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    padding: 6px;
    background: var(--whmcs-bg-glass);
    border-radius: var(--whmcs-radius-lg);
    border: 1px solid var(--whmcs-border);
}

.whmcs-wp-auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: var(--whmcs-radius-md);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--whmcs-text-muted);
    cursor: pointer;
    transition: var(--whmcs-transition);
}

.whmcs-wp-auth-tab svg {
    width: 18px;
    height: 18px;
}

.whmcs-wp-auth-tab:hover {
    color: var(--whmcs-text-primary);
}

.whmcs-wp-auth-tab.active {
    background: var(--whmcs-bg-tertiary);
    color: var(--whmcs-text-primary);
    box-shadow: var(--whmcs-shadow-sm);
}

.whmcs-wp-auth-content {
    display: none;
    max-width: 600px;
    margin: 0 auto;
}

.whmcs-wp-auth-content.active {
    display: block;
}

/* Forms */
.whmcs-wp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whmcs-wp-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whmcs-wp-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--whmcs-text-secondary);
}

.whmcs-wp-form-group label .required {
    color: var(--whmcs-accent-orange);
}

.whmcs-wp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.whmcs-wp-form-group-lg {
    grid-column: span 1;
}

.whmcs-wp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.whmcs-wp-input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--whmcs-text-muted);
    pointer-events: none;
}

.whmcs-wp-input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--whmcs-bg-tertiary);
    border: 1px solid var(--whmcs-border-light);
    border-radius: var(--whmcs-radius-md);
    font-family: inherit;
    font-size: 14px;
    color: var(--whmcs-text-primary);
    transition: var(--whmcs-transition);
}

.whmcs-wp-input-wrapper input::placeholder {
    color: var(--whmcs-text-muted);
}

.whmcs-wp-input-wrapper input:focus {
    outline: none;
    border-color: var(--whmcs-accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* Select Wrapper */
.whmcs-wp-select-wrapper {
    position: relative;
}

.whmcs-wp-select-wrapper select {
    width: 100%;
    padding: 14px 44px 14px 44px;
    background: var(--whmcs-bg-tertiary);
    border: 1px solid var(--whmcs-border-light);
    border-radius: var(--whmcs-radius-md);
    font-family: inherit;
    font-size: 14px;
    color: var(--whmcs-text-primary);
    transition: var(--whmcs-transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.whmcs-wp-select-wrapper select:focus {
    outline: none;
    border-color: var(--whmcs-accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.whmcs-wp-select-wrapper select option {
    background: var(--whmcs-bg-secondary);
    color: var(--whmcs-text-primary);
    padding: 12px;
}

.whmcs-wp-select-wrapper select option:first-child {
    color: var(--whmcs-text-muted);
}

.whmcs-wp-select-wrapper > svg:first-child {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--whmcs-text-muted);
    pointer-events: none;
    z-index: 1;
}

.whmcs-wp-select-wrapper .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--whmcs-text-muted);
    pointer-events: none;
    z-index: 1;
}

/* Fix for Firefox */
.whmcs-wp-select-wrapper select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--whmcs-text-primary);
}

/* Fix for IE */
.whmcs-wp-select-wrapper select::-ms-expand {
    display: none;
}

.whmcs-wp-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--whmcs-text-muted);
    transition: var(--whmcs-transition);
}

.whmcs-wp-toggle-password:hover {
    color: var(--whmcs-text-primary);
}

.whmcs-wp-toggle-password svg {
    position: static;
    width: 18px;
    height: 18px;
}

.whmcs-wp-toggle-password .eye-closed {
    display: none;
}

.whmcs-wp-toggle-password.active .eye-open {
    display: none;
}

.whmcs-wp-toggle-password.active .eye-closed {
    display: block;
}

/* Client Type Selection */
.whmcs-wp-client-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.whmcs-wp-radio-card {
    position: relative;
    cursor: pointer;
}

.whmcs-wp-radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.whmcs-wp-radio-card .radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--whmcs-bg-tertiary);
    border: 2px solid var(--whmcs-border-light);
    border-radius: var(--whmcs-radius-md);
    transition: var(--whmcs-transition);
}

.whmcs-wp-radio-card .radio-content svg {
    width: 28px;
    height: 28px;
    color: var(--whmcs-text-muted);
    transition: var(--whmcs-transition);
}

.whmcs-wp-radio-card .radio-content span {
    font-size: 14px;
    font-weight: 500;
    color: var(--whmcs-text-secondary);
    transition: var(--whmcs-transition);
}

.whmcs-wp-radio-card:hover .radio-content {
    border-color: var(--whmcs-text-muted);
}

.whmcs-wp-radio-card.active .radio-content,
.whmcs-wp-radio-card input:checked + .radio-content {
    border-color: var(--whmcs-accent-orange);
    background: rgba(255, 107, 53, 0.08);
}

.whmcs-wp-radio-card.active .radio-content svg,
.whmcs-wp-radio-card input:checked + .radio-content svg {
    color: var(--whmcs-accent-orange);
}

.whmcs-wp-radio-card.active .radio-content span,
.whmcs-wp-radio-card input:checked + .radio-content span {
    color: var(--whmcs-text-primary);
}

/* Form Error */
.whmcs-wp-form-error {
    display: none;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--whmcs-radius-md);
    color: var(--whmcs-error);
    font-size: 14px;
}

.whmcs-wp-form-error.visible {
    display: block;
}

/* Step Navigation */
.whmcs-wp-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--whmcs-border);
}

/* Payment Step */
.whmcs-wp-order-summary-box {
    background: var(--whmcs-bg-glass);
    border: 1px solid var(--whmcs-border);
    border-radius: var(--whmcs-radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.whmcs-wp-order-summary-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--whmcs-text-primary);
}

.whmcs-wp-summary-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whmcs-wp-summary-product .product-name {
    font-size: 15px;
    color: var(--whmcs-text-secondary);
}

.whmcs-wp-summary-product .product-price {
    font-size: 18px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--whmcs-accent-orange);
}

/* Billing Cycle */
.whmcs-wp-billing-cycle {
    margin-bottom: 32px;
}

.whmcs-wp-billing-cycle h4,
.whmcs-wp-payment-methods h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--whmcs-text-primary);
    margin: 0 0 16px 0;
}

.whmcs-wp-cycle-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.whmcs-wp-cycle-card {
    position: relative;
    cursor: pointer;
}

.whmcs-wp-cycle-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.whmcs-wp-cycle-card .cycle-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background: var(--whmcs-bg-tertiary);
    border: 2px solid var(--whmcs-border-light);
    border-radius: var(--whmcs-radius-md);
    transition: var(--whmcs-transition);
}

.whmcs-wp-cycle-card .cycle-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--whmcs-text-secondary);
}

.whmcs-wp-cycle-card .cycle-price {
    font-size: 20px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--whmcs-text-primary);
}

.whmcs-wp-cycle-card .cycle-save {
    font-size: 12px;
    color: var(--whmcs-accent-green);
    font-weight: 500;
}

.whmcs-wp-cycle-card.active .cycle-content,
.whmcs-wp-cycle-card input:checked + .cycle-content {
    border-color: var(--whmcs-accent-orange);
    background: rgba(255, 107, 53, 0.08);
}

/* Payment Methods */
.whmcs-wp-payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.whmcs-wp-payment-card {
    position: relative;
    cursor: pointer;
}

.whmcs-wp-payment-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.whmcs-wp-payment-card .payment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--whmcs-bg-tertiary);
    border: 2px solid var(--whmcs-border-light);
    border-radius: var(--whmcs-radius-md);
    transition: var(--whmcs-transition);
}

.whmcs-wp-payment-card .payment-content svg {
    width: 32px;
    height: 32px;
    color: var(--whmcs-text-muted);
    transition: var(--whmcs-transition);
}

.whmcs-wp-payment-card .payment-content span {
    font-size: 13px;
    font-weight: 500;
    color: var(--whmcs-text-secondary);
}

.whmcs-wp-payment-card.active .payment-content,
.whmcs-wp-payment-card input:checked + .payment-content {
    border-color: var(--whmcs-accent-orange);
    background: rgba(255, 107, 53, 0.08);
}

.whmcs-wp-payment-card.active .payment-content svg,
.whmcs-wp-payment-card input:checked + .payment-content svg {
    color: var(--whmcs-accent-orange);
}

/* Confirmation */
.whmcs-wp-confirmation {
    text-align: center;
    padding: 40px 20px;
}

.whmcs-wp-confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--whmcs-accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.whmcs-wp-confirmation-icon svg {
    width: 40px;
    height: 40px;
    color: var(--whmcs-accent-green);
}

.whmcs-wp-confirmation h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--whmcs-text-primary);
}

.whmcs-wp-confirmation > p {
    font-size: 15px;
    color: var(--whmcs-text-secondary);
    margin: 0 0 32px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.whmcs-wp-order-details {
    background: var(--whmcs-bg-glass);
    border: 1px solid var(--whmcs-border);
    border-radius: var(--whmcs-radius-lg);
    padding: 24px;
    max-width: 400px;
    margin: 0 auto 32px;
}

.whmcs-wp-order-details .order-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--whmcs-border);
}

.whmcs-wp-order-details .order-detail:last-child {
    border-bottom: none;
}

.whmcs-wp-order-details .detail-label {
    font-size: 14px;
    color: var(--whmcs-text-muted);
}

.whmcs-wp-order-details .detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--whmcs-text-primary);
}

.whmcs-wp-order-details .order-number {
    font-family: 'JetBrains Mono', monospace;
    color: var(--whmcs-accent-orange);
}

.whmcs-wp-order-details .order-amount {
    color: var(--whmcs-accent-green);
}

.whmcs-wp-info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--whmcs-text-secondary);
    padding: 16px;
    background: var(--whmcs-bg-tertiary);
    border-radius: var(--whmcs-radius-md);
    max-width: 500px;
    margin: 0 auto;
}

.whmcs-wp-info-text svg {
    width: 20px;
    height: 20px;
    color: var(--whmcs-accent-cyan);
    flex-shrink: 0;
}

/* Loading Overlay */
.whmcs-wp-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.whmcs-wp-loading.visible {
    display: flex;
}

.whmcs-wp-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--whmcs-border-light);
    border-top-color: var(--whmcs-accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.whmcs-wp-loading span {
    font-size: 14px;
    color: var(--whmcs-text-secondary);
}

/* Error State */
.whmcs-wp-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--whmcs-error);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .whmcs-wp-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .whmcs-wp-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .whmcs-wp-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .whmcs-wp-container {
        padding: 24px 16px;
    }
    
    .whmcs-wp-steps {
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
    }
    
    .whmcs-wp-step-line {
        display: none;
    }
    
    .whmcs-wp-step {
        flex: 1;
        min-width: 70px;
    }
    
    .whmcs-wp-step-label {
        font-size: 11px;
    }
    
    .whmcs-wp-step-circle {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .whmcs-wp-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .whmcs-wp-product-card {
        padding: 16px;
        min-height: 380px;
    }
    
    .whmcs-wp-product-header h3 {
        font-size: 14px;
        padding-right: 60px;
    }
    
    .whmcs-wp-product-price .price-amount {
        font-size: 22px;
    }
    
    .whmcs-wp-badge {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .whmcs-wp-form-row {
        grid-template-columns: 1fr;
    }
    
    .whmcs-wp-client-type,
    .whmcs-wp-cycle-options {
        grid-template-columns: 1fr;
    }
    
    .whmcs-wp-payment-options {
        grid-template-columns: 1fr;
    }
    
    .whmcs-wp-step-nav {
        flex-direction: column-reverse;
    }
    
    .whmcs-wp-step-nav .whmcs-wp-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .whmcs-wp-products {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .whmcs-wp-product-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .whmcs-wp-step-header h2 {
        font-size: 22px;
    }
    
    .whmcs-wp-product-price .price-amount {
        font-size: 26px;
    }
    
    .whmcs-wp-auth-tabs {
        flex-direction: column;
    }
}
