/* Reset and Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
    padding-top: 70px; /* Adjusted to ensure content is not hidden by navbar */
}

code {
    color: #007bff;
}

.container {
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Header Styling */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
}

/* Navigation Styling */
nav {
    border-bottom: 1px solid #dbdee1;
    text-align: center;
    margin-bottom: 20px;
}

nav a.nav-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 10px;
    border-radius: 25px;
    color: #007bff;
    background-color: #f8f9fa;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a.nav-link:hover {
    background-color: #036ee1;
    color: #ffffff !important;
}

/* Card Styling */
.card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1.1rem;
    color: #6c757d;
}

/* List Styling */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 15px;
}

/* Navbar Styling */
.navbar-brand {
    font-weight: bold;
}

.navbar-toggler-icon {
    background-color: #007bff;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    margin-right: 15px;
}

.active-nav-link {
    color: rgb(143, 0, 226) !important; 
    font-weight: bold; 
    text-decoration: underline; 
}

/* Ensure content is not hidden behind navbar */
.content {
    padding-top: 80px; /* Adjust this value to ensure content is not hidden */
}

#spinner-wrapper {
    display: inline-block;
    justify-content: center;
    align-items: center;
    height: 300px; /* Adjust this height as needed */
    margin-top: 50px; /* Adjust this margin as needed */
    padding-top: 50px; /* Adding padding for further alignment */
}

#spinner-row {
    display: none; /* Hide initially */
}

/* Modal Styling */
.modal-content {
    border-radius: 10px;
}

.modal-header, .modal-footer {
    border: none;
}

.modal-header {
    border-bottom: 2px solid #e9ecef; /* Add bottom border to header */
    background-color: #f8f9fa;
}

.modal-title {
    font-size: 1.5rem;
}

/* Button Styling */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Button Spacing */
.button-spacing {
    margin-right: 5px; /* Adjust space as needed */
}

.button-spacing:last-child {
    margin-right: 0; /* Remove margin from the last button */
}

/* Style the resource ID within the dropdown */
.resource-id {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: normal;
    margin-left: 5px;
    font-style: italic;
}

/* Footer Styling */
.footer {
    background-color: #e9ecef;
    padding: 20px 0;
}

.footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer h5 a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer h5 a:hover {
    color: #0056b3;
}
