/* JSON Validator Custom CSS */

.apple-glass {
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.apple-card {
    background: rgba(29, 29, 31, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.apple-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.text-glow {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Syntax highlighting */
.json-key {
    color: #818cf8;
    font-weight: 600;
}

.json-string {
    color: #34d399;
}

.json-number {
    color: #fbbf24;
}

.json-boolean {
    color: #f472b6;
}

.json-null {
    color: #a1a1aa;
}

/* Line highlight for error */
.error-line-highlight {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-left: 3px solid #ef4444 !important;
}

/* Line highlighter in view */
.formatted-code-line {
    display: flex;
    line-height: 1.6;
}

.line-num-span {
    width: 3rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: right;
    padding-right: 0.75rem;
    user-select: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    margin-right: 0.75rem;
}
