/* ADD BOT WIZARD CSS - V2 PREMIUM DESIGN */
.add-bot-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.add-bot-modal.show {
    opacity: 1;
}

.wizard-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.wizard-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    background: linear-gradient(145deg, rgba(16, 18, 27, 0.95), rgba(10, 12, 18, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    padding: 32px 40px;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.8), inset 0 2px 20px rgba(139,92,246,0.05);
    z-index: 10;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.add-bot-modal.show .wizard-card {
    transform: scale(1) translateY(0);
}

.wizard-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: wizFloatGlow 10s infinite alternate;
}
.wizard-glow.glow-1 {
    background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
    top: -50px; left: -50px;
}
.wizard-glow.glow-2 {
    background: radial-gradient(circle, rgba(34,211,238,0.15), transparent 70%);
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

@keyframes wizFloatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.abm-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 20;
}
.abm-close:hover {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border-color: rgba(239,68,68,0.3);
    transform: rotate(90deg);
}

/* WIZARD HEADER */
.wizard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}
.wiz-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.08);
    margin: 0 12px;
    margin-bottom: 20px;
    position: relative;
}
.wiz-line::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #8b5cf6, #22d3ee);
    transition: width 0.4s ease;
}
.wizard-card[data-step="2"] .wiz-line:nth-child(2)::after { width: 100%; }
.wizard-card[data-step="3"] .wiz-line::after { width: 100%; }

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s;
}
.wizard-step.active, .wizard-step.completed {
    opacity: 1;
}
.wiz-step-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}
.wizard-step.active .wiz-step-icon {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.4);
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(139,92,246,0.3);
    transform: scale(1.1);
}
.wizard-step.completed .wiz-step-icon {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.4);
    color: #34d399;
}
.wiz-step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* WIZARD VIEWS */
.wizard-content-area {
    position: relative;
    min-height: 280px;
    z-index: 2;
}
.wizard-view {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.wizard-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}
.wizard-view.prev {
    transform: translateX(-20px);
}

.wiz-illustration {
    margin-bottom: 20px;
    height: 80px;
    display: flex; align-items: center; justify-content: center;
}
.wiz-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.wiz-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 28px;
}
.wiz-desc a {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.wiz-desc a:hover {
    color: #fff;
}

/* GLASS INPUT BLOCK */
.glass-input-block {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
    transition: all 0.3s;
}
.glass-input-block:focus-within {
    border-color: rgba(139,92,246,0.4);
    background: rgba(139,92,246,0.04);
    box-shadow: 0 10px 30px rgba(139,92,246,0.15);
}
.glass-input-block label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}
.input-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.input-with-icon i {
    color: rgba(255,255,255,0.3);
    font-size: 16px;
}
.input-with-icon input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: monospace;
    font-weight: 600;
    height: 48px;
    outline: none;
}
.input-with-icon input::placeholder {
    color: rgba(255,255,255,0.2);
}

/* WIZARD ACTIONS */
.wiz-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}
.wiz-btn-primary {
    flex: 1;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    color: #fff;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 10px 25px rgba(139,92,246,0.3);
    transition: all 0.2s;
    width: 100%;
}
.wiz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34,211,238,0.4);
}
.wiz-btn-primary.success {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 10px 25px rgba(16,185,129,0.3);
}
.wiz-btn-primary.success:hover {
    box-shadow: 0 15px 35px rgba(16,185,129,0.4);
}
.wiz-btn-secondary {
    height: 50px;
    padding: 0 24px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.wiz-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}
