/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Vue.js cloak directive */
[v-cloak] {
    display: none;
}

/* Book Cover Styles */
.book-cover {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.no-cover {
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #424242;
    border-radius: 4px;
    color: #888;
}

.image-preview {
    max-width: 200px;
    max-height: 300px;
    object-fit: contain;
    margin-top: 10px;
}

/* API Tester Styles */
.endpoint-nav {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.response-container {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
    max-height: 500px;
}

.response-json {
    color: #d4d4d4;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.json-key {
    color: #9cdcfe;
}

.json-string {
    color: #ce9178;
}

.json-number {
    color: #b5cea8;
}

.json-boolean {
    color: #569cd6;
}

.json-null {
    color: #569cd6;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 12px;
}

.status-200 {
    background: #22C55E;
    color: white;
}

.status-400 {
    background: #F2AE2E;
    color: white;
}

.status-500 {
    background: #F13D3C;
    color: white;
}
