/* Event Page Reusable Components */

/* Collapsible Troubleshooting Section Styles */
.troubleshooting-section {
    margin: 1.5rem 0 0 2.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
}

.troubleshooting-section summary {
    color: var(--warning-color);
    margin-bottom: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* Remove default marker in all browsers */
.troubleshooting-section summary::-webkit-details-marker {
    display: none;
}

.troubleshooting-section summary::marker {
    display: none;
}

.troubleshooting-section .toggle-icon {
    font-weight: bold;
    width: 1.2rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.troubleshooting-section .troubleshooting-content {
    margin-top: 1rem;
}

.troubleshooting-section .troubleshooting-description {
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.troubleshooting-section .troubleshooting-image-container {
    text-align: center;
    margin: 1rem 0;
}

.troubleshooting-section .troubleshooting-image {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.troubleshooting-section .troubleshooting-image-caption {
    color: var(--secondary-text-color);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.troubleshooting-section .solutions-heading {
    color: var(--text-color);
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.troubleshooting-section .solutions-list {
    color: var(--secondary-text-color);
    line-height: 1.7;
    padding-left: 1.5rem;
}

.troubleshooting-section .solutions-list li {
    margin: 0.5rem 0;
}

/* Hover effect for summary */
.troubleshooting-section summary:hover {
    opacity: 0.8;
}

/* Info section variant (blue) */
.info-section {
    margin: 1.5rem 0 0 2.75rem;
    background-color: rgba(37, 99, 235, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-section summary {
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.info-section summary::-webkit-details-marker {
    display: none;
}

.info-section summary::marker {
    display: none;
}

.info-section .toggle-icon {
    font-weight: bold;
    width: 1.2rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.info-section .info-content {
    margin-top: 1rem;
}

.info-section summary:hover {
    opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .troubleshooting-section,
    .info-section {
        margin-left: 1rem;
        padding: 1rem;
    }

    .troubleshooting-section .troubleshooting-image {
        max-width: 85%;
    }
}
