/* Client Waitlist & Screening System - Luxury Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

.cws-container {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #1a102f 100%);
    color: #f3f4f6;
    border-radius: 20px;
    padding: 35px;
    max-width: 820px;
    margin: 30px auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-sizing: border-box;
}

.cws-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.cws-title-group h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, #ffffff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.cws-title-group p {
    margin: 5px 0 0 0;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Language Toggle Switch */
.cws-lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cws-lang-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cws-lang-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Step Indicator */
.cws-steps-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.cws-steps-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transform: translateY(-50%);
}

.cws-step-item {
    position: relative;
    z-index: 2;
    background: #0b0f19;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.cws-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.cws-step-item.active .cws-step-number {
    background: #8b5cf6;
    color: #fff;
    border-color: #a78bfa;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.cws-step-item.active {
    color: #f3f4f6;
    font-weight: 600;
}

.cws-step-item.completed .cws-step-number {
    background: #10b981;
    color: #fff;
    border-color: #34d399;
}

/* Form Cards & Steps */
.cws-step-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.cws-step-content.active {
    display: block;
}

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

.cws-form-group {
    margin-bottom: 22px;
}

.cws-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.cws-form-group label .required {
    color: #ec4899;
    margin-left: 3px;
}

.cws-input, .cws-textarea, .cws-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.cws-input:focus, .cws-textarea:focus, .cws-select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    background: rgba(17, 24, 39, 0.95);
}

/* Client Type Selection Cards */
.cws-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.cws-type-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.cws-type-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.cws-type-card.selected {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.cws-type-card input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 18px;
    accent-color: #8b5cf6;
}

.cws-type-card h4 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: #fff;
}

.cws-type-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.4;
}

/* Security Notice Box (Real Phone Warning) */
.cws-security-alert {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.cws-security-alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.cws-security-alert p {
    margin: 0;
    font-size: 0.88rem;
    color: #d1d5db;
    line-height: 1.5;
}

.cws-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cws-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.cws-checkbox-group label {
    font-size: 0.88rem;
    color: #e5e7eb;
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
}

/* Competitor Screening Process Explanation Box */
.cws-screening-box {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
}

.cws-screening-box h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: #d8b4fe;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cws-screening-steps {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.cws-screening-step-card {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 3px solid #8b5cf6;
}

.cws-step-icon {
    font-size: 1.3rem;
    color: #a78bfa;
}

.cws-step-text h5 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #fff;
}

.cws-step-text p {
    margin: 0;
    font-size: 0.86rem;
    color: #9ca3af;
    line-height: 1.45;
}

/* Privacy Guarantee Badge */
.cws-privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Action Buttons */
.cws-buttons-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.cws-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cws-btn-prev {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cws-btn-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cws-btn-next, .cws-btn-submit {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    margin-left: auto;
}

.cws-btn-next:hover, .cws-btn-submit:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* Success Confirmation Screen */
.cws-success-card {
    text-align: center;
    padding: 40px 20px;
}

.cws-success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.cws-success-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 10px 0;
}

.cws-tracking-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed #8b5cf6;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.2rem;
    color: #d8b4fe;
    margin: 15px 0;
    letter-spacing: 2px;
}

/* Responsive Rules */
@media (max-width: 640px) {
    .cws-container {
        padding: 20px;
        margin: 10px;
    }

    .cws-type-selector {
        grid-template-columns: 1fr;
    }

    .cws-steps-bar {
        font-size: 0.75rem;
    }

    .cws-step-item span {
        display: none;
    }
}
