/* Custom styles for Video Analyzer API */

.card {
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.125);
}

pre {
    background-color: #0d1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.125);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

pre code {
    color: #e6edf3;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-weight: 600;
}

.display-4, .display-5 {
    font-weight: 300;
}

.lead {
    font-size: 1.1rem;
}

.badge {
    font-size: 0.75rem;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Code syntax highlighting improvements */
.bg-dark {
    background-color: #0d1117 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    pre {
        font-size: 0.8rem;
        overflow-x: auto;
    }
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-text {
    animation: pulse 2s infinite;
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 0.5rem;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #6ea8fe;
    border-left: 4px solid #0d6efd;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #ea868f;
    border-left: 4px solid #dc3545;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.125);
}

/* Button hover effects */
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
    transition: all 0.2s ease;
}

/* Form improvements */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Icon spacing */
.fas, .far {
    width: 1.2em;
    text-align: center;
}
