/* Metadata Debug Page - Tangerine Theme */

.metadata-debug-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-header h2::before {
    content: '';
    width: 4px;
    height: 32px;
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.page-header .subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.page-header hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.controls input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.controls input[type="text"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.controls input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.controls button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.controls button.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

.controls button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.controls button.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.controls button.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

#status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    min-height: 1.5rem;
}

#result {
    margin-top: 2rem;
}

#result h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#result h3::before {
    content: '';
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e0e0e0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
}

.code-block::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-block::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.code-block::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.code-block::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.4);
}

@media (max-width: 768px) {
    .metadata-debug-container {
        padding: 1rem;
    }

    .page-header h2 {
        font-size: 1.5rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .controls input[type="text"],
    .controls button {
        width: 100%;
    }

    .code-block {
        font-size: 0.75rem;
        padding: 1rem;
    }
}
