/* Advanced Toggle Switch */
.advanced-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: #27619B;
}

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

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 0 2px rgba(39, 97, 155, 0.3);
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.toggle-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .advanced-toggle-container {
        flex-wrap: wrap;
    }
}

/* Advanced Tools Section */
.advanced-tools-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.advanced-tools-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.advanced-tools-section .section-description {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 24px 0;
}

.tool-card.advanced-card {
    border-left: 4px solid #27619B;
}

.tool-card.advanced-card:hover {
    border-left-color: #1d4f7d;
}