/* Pricing Features Toggle Styles */

/* Feature title styling */
.feature-title {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 10px 15px !important;
    margin: 5px 0 !important;
    border-radius: 5px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(135, 206, 235, 0.2) !important;
}

.feature-title:hover {
    background-color: rgba(135, 206, 235, 0.1) !important;
    transform: translateY(-1px) !important;
    border-color: rgba(135, 206, 235, 0.4) !important;
}

.feature-title:active {
    transform: translateY(0) !important;
}

/* Feature content styling - CRITICAL FOR VISIBILITY */
.feature-content {
    transition: all 0.3s ease !important;
    overflow: visible !important;
    padding: 10px 15px !important;
    margin: 5px 0 !important;
    border-radius: 5px !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-left: 3px solid rgba(135, 206, 235, 0.3) !important;
}

/* When content is shown */
.feature-content[style*="display: block"],
.feature-content[style*="visibility: visible"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

/* When content is hidden */
.feature-content[style*="display: none"],
.feature-content[style*="visibility: hidden"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    max-height: 0 !important;
}

/* Chevron icon animation */
.feature-title i {
    transition: transform 0.3s ease !important;
    margin-left: 8px !important;
    float: right !important;
}

.feature-title i.rotated {
    transform: rotate(180deg) !important;
}

/* Animation for content */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Ensure feature titles are clickable */
.feature-title {
    position: relative;
    z-index: 10;
}

/* Add visual feedback for clickable elements */
.feature-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: background-color 0.2s ease;
    pointer-events: none;
    border-radius: 5px;
}

.feature-title:hover::before {
    background-color: rgba(135, 206, 235, 0.05);
}

/* Ensure proper spacing */
.feature-section {
    margin-bottom: 1rem !important;
}

.feature-content ul {
    margin-top: 0.5rem !important;
    padding-left: 1.5rem !important;
    list-style: none !important;
}

.feature-content li {
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
    padding: 5px 0 !important;
}

.feature-content li i {
    color: #87CEEB !important;
    margin-right: 8px !important;
}

/* Make sure the toggle works in both languages */
.feature-title[onclick] {
    cursor: pointer !important;
}

/* Force pointer cursor on all feature titles */
.feature-title {
    cursor: pointer !important;
}

/* Override any conflicting styles */
.feature-content {
    display: none !important;
}

.feature-content.show,
.feature-content[style*="display: block"] {
    display: block !important;
}

/* Ensure content is visible when shown */
.feature-content ul {
    display: block !important;
}

.feature-content li {
    display: list-item !important;
}
