.strategy-toolbar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--bs-border-radius-lg);
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-toolbar .card,
#pathSettings.card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

.strategy-toolbar .card-title {
    color: var(--bs-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Tool Buttons - New Horizontal Style */
.tool-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tool-btn.active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--bs-primary);
}

.tool-btn i {
    font-size: 0.9rem;
}

/* Button group styling */
.btn-group-sm .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Path Settings Card */
#pathSettings {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

#pathSettings .card-title {
    color: var(--bs-success);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Enhanced Hero Select Dropdown for Path Settings */
#pathHeroSelect {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

#pathHeroSelect:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 159, 28, 0.3) !important;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.1) !important;
    transform: translateY(-1px) !important;
}

#pathHeroSelect:focus {
    background-color: rgba(255, 255, 255, 0.13) !important;
    border-color: var(--bs-success) !important;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

#pathHeroSelect option {
    background: rgba(20, 20, 30, 0.85) !important;
    color: #ffffff !important;
    padding: 0.5rem 0.75rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

#pathHeroSelect option:hover {
    background: rgba(255, 159, 28, 0.15) !important;
}

#pathHeroSelect optgroup {
    background: rgba(30, 30, 40, 0.85) !important;
    color: var(--bs-success) !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.5rem 0.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

#pathHeroSelect optgroup option {
    padding-left: 1.5rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.settings-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.settings-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-header p {
    margin: 0.15rem 0 0 0;
    color: var(--text-secondary);
}

.settings-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-ultra-modern.settings {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}

.btn-ultra-modern.settings:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(251, 191, 36, 0.2);
}

.btn-compact.settings {
    color: #fbbf24;
}

.btn-compact.leave {
    color: #ef4444;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.setting-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.setting-info {
    flex: 1;
    min-width: 0;
}

.setting-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.setting-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.setting-value {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

/* Modern Switch */
.modern-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    flex-shrink: 0;
}

.modern-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modern-switch input:checked+.switch-slider {
    background: var(--gradient-button);
    border-color: var(--accent-primary);
}

.modern-switch input:checked+.switch-slider:before {
    transform: translateX(26px);
}

.modern-switch:hover .switch-slider {
    border-color: var(--accent-primary);
}

/* Responsive Design for Create Team Form */
@media (max-width: 992px) {

    .team-form-grid,
    .team-form-sections-row {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-form-section {
        padding: 1.25rem;
    }

    .brand-logo-circle {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .brand-name-preview {
        font-size: 1.2rem;
    }

    .brand-tag-preview {
        font-size: 0.9rem;
    }

    .color-picker-group {
        flex-direction: column;
    }

    .color-input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .team-form-section {
        padding: 1rem;
    }

    .section-header-modern {
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .brand-preview-container {
        padding: 1rem;
    }

    .setting-item {
        padding: 0.875rem;
    }
}