/* Feature Description Modal Styles */
.feature-description-truncated {
    position: relative;
}

.btn-read-more {
    background: #0073aa;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px;
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background: #005a87;
}

.feature-description-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-description-modal .modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.feature-description-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-description-modal .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.feature-description-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.feature-description-modal .modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.feature-description-modal .modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.feature-description-modal .modal-body h4 {
    color: #0073aa;
    margin-top: 20px;
    margin-bottom: 10px;
}

.feature-description-modal .modal-body h4:first-child {
    margin-top: 0;
}

.feature-description-modal .modal-body ul,
.feature-description-modal .modal-body ol {
    margin: 10px 0;
    padding-left: 20px;
}

.feature-description-modal .modal-body li {
    margin: 5px 0;
    line-height: 1.5;
}

.feature-description-modal .modal-body .feature-list li {
    color: #555;
}

.feature-description-modal .modal-body .usage-steps li {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-description-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .feature-description-modal .modal-header,
    .feature-description-modal .modal-body {
        padding: 15px;
    }
    
    .feature-description-modal .modal-header h3 {
        font-size: 16px;
    }
}
