#avision-dashboard-root .strategy-box-pro {
    background: white;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#avision-dashboard-root .level-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 25px;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

#avision-dashboard-root .level-card.active {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    background: white;
    opacity: 1;
}

#avision-dashboard-root .level-card.locked {
    opacity: 0.8;
    background: #f8fafc;
    border-style: solid;
}

#avision-dashboard-root .level-card.done {
    border-color: var(--success);
    background: var(--success-bg, #dcfce7);
    box-shadow: none;
}

#avision-dashboard-root .level-card.premium-locked {
    opacity: 1;
    background: linear-gradient(to bottom right, #fffbeb, #fff);
    border: 1px solid #fcd34d;
}

#avision-dashboard-root .level-card.bonus {
    border-color: var(--bonus-purple, #8b5cf6);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

#avision-dashboard-root .level-card.bonus .level-header:hover {
    background: #f5f3ff;
}

#avision-dashboard-root .level-card.bonus .level-badge {
    background: var(--bonus-purple, #8b5cf6);
}

#avision-dashboard-root .level-card.bonus .level-title {
    color: var(--bonus-text, #5b21b6);
}

#avision-dashboard-root .level-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

#avision-dashboard-root .level-header:hover {
    background: #f8fafc;
}

#avision-dashboard-root .level-badge {
    background: var(--text-main);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

#avision-dashboard-root .level-badge.gray {
    background: #9ca3af;
}

#avision-dashboard-root .level-badge.purple {
    background: #8b5cf6;
}

#avision-dashboard-root .level-card.active .level-badge {
    background: var(--primary-dark);
}

#avision-dashboard-root .level-card.done .level-badge {
    background: var(--success);
}

#avision-dashboard-root .level-card.premium-locked .level-badge {
    background: var(--premium-gold, #d97706);
}

#avision-dashboard-root .level-title {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-main);
}

#avision-dashboard-root .level-title.purple-text {
    color: #5b21b6;
}

#avision-dashboard-root .level-actions {
    padding: 1.5rem;
}

#avision-dashboard-root .level-actions p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

#avision-dashboard-root .accordion-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.4s ease;
    opacity: 0;
}

#avision-dashboard-root .accordion-wrapper.open {
    max-height: 1500px;
    opacity: 1;
}

#avision-dashboard-root .level-chevron {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

#avision-dashboard-root .level-chevron.rotate {
    transform: rotate(180deg);
}

#avision-dashboard-root .level-chevron.purple-text {
    color: #8b5cf6;
}

#avision-dashboard-root .premium-tag {
    background: linear-gradient(90deg, #fbbf24 0%, #d97706 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

#avision-dashboard-root .btn-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

#avision-dashboard-root .btn-outline,
#avision-dashboard-root .btn-primary,
#avision-dashboard-root .btn-verify {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
}

#avision-dashboard-root .btn-outline {
    background: white;
    border: 2px solid var(--border);
    color: var(--text-muted);
}

#avision-dashboard-root .btn-primary {
    background: var(--primary-dark);
    color: white;
}

#avision-dashboard-root .btn-verify {
    background: var(--text-main);
    color: white;
    margin-left: auto;
    transition: transform 0.1s;
}

#avision-dashboard-root .btn-verify:active {
    transform: scale(0.95);
}

#avision-dashboard-root .btn-gold {
    background: linear-gradient(90deg, #fbbf24 0%, #d97706 100%);
}

#avision-dashboard-root .btn-purple {
    background: #8b5cf6;
}

#avision-dashboard-root .ai-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary-dark);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

#avision-dashboard-root .howto-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 25px;
    color: #92400e;
    font-size: 1.1rem;
    line-height: 1.8;
}

#avision-dashboard-root .feedback-box {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    padding: 10px;
    background: #eff6ff;
    border-radius: 8px;
}

#avision-dashboard-root .automation-settings {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 20px;
}

#avision-dashboard-root .setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#avision-dashboard-root .setting-row:last-child {
    margin-bottom: 0;
}

#avision-dashboard-root .setting-label {
    font-weight: 700;
    color: #92400e;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#avision-dashboard-root .toggle-container {
    display: flex;
    background: #fde68a;
    border-radius: 20px;
    padding: 4px;
    position: relative;
    cursor: pointer;
}

#avision-dashboard-root .toggle-option {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
    transition: all 0.3s;
    z-index: 2;
}

#avision-dashboard-root .toggle-option.active {
    background: #d97706;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#avision-dashboard-root .email-area {
    width: 100%;
    height: 220px;
    padding: 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b;
    resize: none;
    background: white;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

#avision-dashboard-root #levels-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#avision-dashboard-root .spinner {
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    border-top: 3px solid var(--primary-dark);
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
}
