/* Error Help Styles */

.error-help-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-help-modal.hidden {
    display: none;
}

.error-help-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.error-help-body {
    padding: 24px;
}

.error-help-message {
    margin-bottom: 24px;
}

.error-help-title {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    margin-bottom: 8px;
}

.error-help-description {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.error-help-tips {
    margin-bottom: 24px;
}

.error-help-tips-list {
    margin: 12px 0 0 0;
    padding-left: 24px;
    list-style-type: disc;
}

.error-help-tips-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.error-help-contact {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
    text-align: center;
}

.error-help-contact p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #6c757d;
}

/* Error message with help button */
.error-message-content {
    margin-bottom: 12px;
}

.error-message-text {
    font-size: 14px;
    color: #495057;
    margin-bottom: 8px;
    line-height: 1.5;
}

.error-suggestion {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-left: 3px solid #17a2b8;
    border-radius: 4px;
    line-height: 1.5;
}

.error-help-btn {
    margin-top: 12px;
    padding: 6px 12px;
    font-size: 13px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.error-help-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.error-help-btn:active {
    background-color: #dee2e6;
}

/* Enhanced error toast styling */
.toast.error .error-message-content {
    margin: 0;
}

.toast.error .error-help-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .error-help-modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .error-help-body {
        padding: 16px;
    }
}

