/* Debug Toggle Hint */
.debug-toggle-hint {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 0.813rem;
    font-weight: 500;
}

/* Debug Panel Styles */
.debug-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 400px;
    max-height: 80vh;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 500;
    overflow: hidden;
}

.debug-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debug-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

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

.debug-close:hover {
    background: #e9ecef;
}

.debug-content {
    padding: 20px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

.debug-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.debug-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.debug-section h4 {
    margin: 0 0 10px 0;
    color: #4a90e2;
    font-size: 1rem;
    font-weight: 600;
}

.debug-info {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
}

.debug-info code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.debug-info .highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.debug-info .success {
    color: #28a745;
    font-weight: 600;
}

.debug-info .warning {
    color: #ffc107;
    font-weight: 600;
}

.debug-info .error {
    color: #dc3545;
    font-weight: 600;
}

.debug-list {
    list-style: none;
    padding: 0;
    margin: 5px 0;
}

.debug-list li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.debug-list li:last-child {
    border-bottom: none;
}
