/* ============================================================
   SHOPPI BUSINESS SIGNUP - MODERN PREMIUM REDESIGN
   ============================================================ */

:root {
    --signup-primary: #323243;
    --signup-secondary: #2b2b3a;
    --signup-accent: #34b5e5;
    --signup-accent-light: #59c0e9;
    --signup-orange: #ff9d00;
    --signup-gradient: #323243;
    --signup-accent-gradient: linear-gradient(135deg, #34b5e5 0%, #59c0e9 100%);
    --field-bg: #f8fafc;
    --text-main: #334155;
    --text-muted: #8e99a7;
    --radius-lg: 12px;
}

.signup-wrapper {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: var(--text-main);
    min-height: 100vh;
    margin: 0;
    display: flex;
    /* Restoring flex from business-signup.html wrapper needs to be consistent */
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Split Layout */
.signup-wrapper {
    display: flex;
    min-height: 100vh;
}

.signup-sidebar {
    width: 280px;
    flex: none;
    background: var(--signup-primary);
    padding: 30px 25px;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.signup-sidebar::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 181, 229, 0.1) 0%, transparent 70%);
    filter: blur(80px);
}

.signup-sidebar::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 157, 0, 0.05) 0%, transparent 70%);
    filter: blur(60px);
}

.signup-form-container {
    flex: 1.2;
    padding: 60px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-card {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 650px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Steps Indicator */
.step-indicator {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
}

.setup-content {
    display: none;
}

.setup-content.active {
    display: block;
}

.step-dot {
    height: 8px;
    flex: 1;
    background: #e2e8f0;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-dot.active {
    background: var(--signup-accent-gradient);
    box-shadow: 0 4px 10px rgba(52, 181, 229, 0.2);
}

.step-dot.completed {
    background: #10b981;
}

/* Form Styling */
.form-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--signup-primary);
    display: block;
}

.form-control,
.form-select {
    border-radius: 16px;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    background: var(--field-bg);
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--signup-accent);
    box-shadow: 0 0 0 6px rgba(52, 181, 229, 0.08);
    background: white;
    outline: none;
}

.form-control.error {
    border-color: #ef4444 !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    display: none;
}

/* Buttons */
.btn-next {
    background: var(--signup-accent-gradient);
    color: white !important;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(52, 181, 229, 0.3);
}

.btn-next:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 181, 229, 0.4);
}

.btn-link {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--signup-primary) !important;
}

/* Sidebar Benefits */
.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 12px;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: rgba(52, 181, 229, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--signup-accent);
}

.sidebar-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    margin-top: 35px;
}

/* Choice Cards */
.choice-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e2e8f0 !important;
    background: white;
}

.choice-card:hover {
    transform: translateY(-8px);
    border-color: var(--signup-accent) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.choice-card i {
    margin-bottom: 20px;
    display: block;
}

.text-accent {
    color: var(--signup-accent);
}

/* Success Message */
.signup-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: var(--radius-lg);
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
    animation: fadeIn 0.5s ease-out;
}

.signup-success-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sync Info Box */
.sync-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.sync-info h5 {
    color: #166534;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Plan Selection */
.plan-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.plan-card {
    background: #fff;
    border: 3px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-5px);
}

.plan-card.active {
    border-color: var(--signup-accent);
    background: rgba(52, 181, 229, 0.02);
    box-shadow: 0 20px 40px rgba(52, 181, 229, 0.1);
}

.plan-card.active::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--signup-accent);
    font-size: 1.4rem;
}

.plan-badge {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.plan-badge.featured {
    background: linear-gradient(135deg, #ff9d00 0%, #ff6b00 100%);
    color: #fff;
}

.plan-price {
    margin: 10px 0 20px 0;
    line-height: 1;
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: #2b2d3c;
}

.plan-price .price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    vertical-align: super;
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-features {
    margin-top: auto;
}

.plan-features li {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Custom Domain Section */
.custom-domain-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
    display: none;
    animation: slideDownFade 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-domain-section.visible {
    display: block;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.custom-domain-section .domain-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.custom-domain-section .domain-header i {
    color: #0284c7;
    font-size: 1.1rem;
}

.custom-domain-section .domain-header h6 {
    margin: 0;
    font-weight: 800;
    color: #0c4a6e;
    font-size: 0.95rem;
}

.domain-toggle-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.domain-toggle-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    background: white;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
}

.domain-toggle-btn.active {
    border-color: var(--signup-accent);
    background: var(--signup-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(52, 181, 229, 0.3);
}

.domain-toggle-btn:hover:not(.active) {
    border-color: var(--signup-accent);
    color: var(--signup-accent);
}

.domain-subdomain-preview {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
}

.domain-subdomain-preview input {
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    flex: 1;
    outline: none;
}

.domain-subdomain-preview .domain-suffix {
    background: #f1f5f9;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    border-left: 2px solid #e2e8f0;
    white-space: nowrap;
}

.domain-custom-input-wrap {
    position: relative;
}

.domain-custom-input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    background: white;
    outline: none;
    transition: border-color 0.25s;
    box-sizing: border-box;
}

.domain-custom-input-wrap input:focus {
    border-color: var(--signup-accent);
    box-shadow: 0 0 0 4px rgba(52, 181, 229, 0.1);
}

.domain-custom-input-wrap .domain-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.domain-custom-hint {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.domain-custom-hint code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.77rem;
    color: #334155;
}

/* Responsive */
@media (max-width: 991px) {
    .signup-wrapper {
        flex-direction: column;
    }

    .signup-sidebar {
        padding: 40px 20px;
        min-height: auto;
    }

    .signup-form-container {
        padding: 30px 15px;
    }

    .signup-card {
        padding: 40px 25px;
        border-radius: 24px;
        margin-top: -40px;
    }

    .plan-selection-grid {
        grid-template-columns: 1fr;
    }
}