/* Modern Check Toggle Styles */

.fg-check-toggle-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fg-check-toggle-item {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
}

.fg-check-toggle-item:hover {
    /* No visual change on hover for flat list style */
    opacity: 0.9;
}

.fg-ct-header {
    padding: 6px 0;
    /* Minimal vertical padding, no horizontal padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.fg-ct-left {
    display: flex;
    align-items: flex-start;
    /* Align closer to top if multi-line */
    gap: 12px;
    /* Tailwind gap-3 */
}

.fg-ct-icon {
    width: 20px;
    /* w-5 */
    height: 20px;
    /* h-5 */
    min-width: 20px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
    /* mt-0.5 adjustment */
}

.fg-ct-icon svg {
    width: 14px;
    /* w-3.5 */
    height: 14px;
    /* h-3.5 */
}

.fg-ct-icon.checked {
    background: #f0fdf4;
    /* Tailwind bg-green-50 */
    color: #16a34a;
    /* Tailwind text-green-600 */
}

.fg-ct-title {
    font-weight: 500;
    /* Regular/Medium instead of Semibold? User said text-gray-700 */
    font-size: 14px !important;
    /* Explicitly requested */
    line-height: 1.625;
    /* leading-relaxed */
    color: #374151;
    /* text-gray-700 */
    margin: 0;
}

.fg-ct-toggle-icon {
    color: #9ca3af;
    transition: transform 0.3s ease;
    width: 16px;
    /* Smaller toggle icon */
    height: 16px;
    margin-left: 8px;
}


.fg-check-toggle-item.active .fg-ct-toggle-icon {
    transform: rotate(180deg);
}

/* Content Area */
.fg-ct-content {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.fg-ct-inner {
    padding: 0 0 12px 34px;
    /* Indented: 20px icon + 12px gap + roughly 2px alignment = 34px. No right/left padding needed on container */
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .fg-ct-header {
        padding: 14px 16px;
    }

    .fg-ct-inner {
        padding: 0 16px 16px 16px;
        /* Less indent on mobile */
    }
}