:root {
    --primary: #4361ee;
    --primary-light: #4895ef;
    --secondary: #3f37c9;
    --accent: #f72585;
    --success: #4cc9f0;
    --dark: #212529;
    --light: #f8f9fa;
    --card-bg: #ffffff;
    --gradient-bg: linear-gradient(135deg, #4361ee, #3a0ca3);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.container {
    max-width: 1200px;
    padding: 0 20px;
}

/* Typography */
h1 {
    color: var(--dark);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Model Selection Cards */
.model-card {
    height: 100%;
}

.model-card .card-header {
    padding: 0.75rem 1rem;
}

.model-card .card-body {
    padding: 1rem;
}

/* Provider Cards */
.provider-card {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.provider-card.d-none {
    display: none !important;
}

/* Response Content */
.response-content {
    white-space: pre-wrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    max-height: 500px;
    overflow-y: auto;
}

.response-content code {
    font-family: 'Fira Code', monospace;
    background-color: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.85rem;
}

.response-content pre {
    background-color: #212529;
    color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
}

.response-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Badge Styles */
.badge {
    font-size: 0.8rem;
    padding: 0.5em 0.75em;
    background-color: #e9ecef;
    color: #495057;
}

/* Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary:hover {
    color: white;
    background-color: #0d6efd;
}

#downloadPdfBtn {
    white-space: nowrap;
}

#downloadPdfBtn:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Loading Indicator */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #0d6efd;
}

/* Form Controls */
.form-control, .form-select {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

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

/* Provider-specific Colors */
.openai-card .card-header {
    border-left: 4px solid #10a37f;
}

.anthropic-card .card-header {
    border-left: 4px solid #b83280;
}

.gemini-card .card-header {
    border-left: 4px solid #4285f4;
}

.deepseek-card .card-header {
    border-left: 4px solid #6366f1;
}

.mistral-card .card-header {
    border-left: 4px solid #7c3aed;
}

.grok-card .card-header {
    border-left: 4px solid #f59e0b;
}

/* Alert Styles */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .response-content {
        font-size: 0.8rem;
    }
} 