/* SynGen Pro - Custom Styles */

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

code, pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
}

/* Cards */
.card {
    border-radius: 0.5rem;
}

.card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* Buttons */
.btn {
    border-radius: 0.375rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.375rem;
}

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

/* Badges */
.badge {
    font-weight: 500;
}

/* Hero section */
.hero-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Code blocks */
pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.bg-dark pre code {
    color: #e9ecef;
}

/* Field cards in generator */
.field-card {
    transition: all 0.2s ease;
}

.field-card:hover {
    border-color: #0d6efd;
}

/* Sticky sidebar */
@media (min-width: 992px) {
    .sticky-top {
        z-index: 1020;
    }
}

/* Footer links */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
}

/* Tables */
.table th {
    font-weight: 600;
}

/* Progress bars */
.progress {
    border-radius: 1rem;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Dropdown menus */
.dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Pricing cards */
.card.border-primary {
    border-width: 2px;
}

/* API documentation code blocks */
.bg-dark code {
    color: #adb5bd;
}

.bg-dark code .string {
    color: #a5d6a7;
}

.bg-dark code .number {
    color: #90caf9;
}

.bg-dark code .boolean {
    color: #ffcc80;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Animation for cards */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Generator preview */
#outputPreview {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Navigation active state */
.nav-link.active {
    font-weight: 600;
    color: #0d6efd !important;
}

/* List group action items */
.list-group-item-action:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Custom scrollbar for code blocks */
.bg-dark::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.bg-dark::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.bg-dark::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.bg-dark::-webkit-scrollbar-thumb:hover {
    background: #555;
}
