/* Swagger2DCAT - Simplified Styles */

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Basic card styling */
.card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card-header {
    background-color: #007bff;
    color: white;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    padding: 1rem;
}

/* Simple breadcrumb styling */
.breadcrumb {
    background-color: #e9ecef;
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Form styling */
.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button styling */
.btn {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Alert styling */
.alert {
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

/* Navigation styling */
.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Tab styling */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #495057;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* JSON preview */
pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
}

/* Utility classes */
.d-none {
    display: none !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Modal styling */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}