.comp-toggle-container {
    padding: 60px 40px;
    font-family: sans-serif;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.comp-toggle-header {
    margin-bottom: 50px;
}

.comp-toggle-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1.2;
}

.comp-toggle-title .state-container {
    display: inline-flex;
    position: relative;
    height: 50px;
    align-items: center;
}

.comp-toggle-state-without,
.comp-toggle-state-with {
    display: none;
}

.comp-toggle-state-without.active,
.comp-toggle-state-with.active {
    display: inline-block;
}

/* Toggle Switch Styles */
.comp-switch {
    width: 90px;
    height: 44px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.comp-switch-handle {
    width: 34px;
    height: 34px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comp-toggle-container.active .comp-switch-handle {
    transform: translateX(46px);
}

/* Grid & Cards */
.comp-list {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.comp-list.active {
    display: block;
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 30px;
}

.comp-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comp-card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.comp-card-icon svg {
    width: 40px;
    height: 40px;
}

.comp-card-text {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .comp-toggle-title {
        font-size: 28px;
    }
    .comp-toggle-container {
        padding: 30px 15px;
    }
}
