/* static/css/custom.css */

/* KIT color scheme */
body {
    background-color: #f8f9fa;
}

.main-container {
    padding: 20px;
}

.nav {
    background-color: #007b5a; /* KIT dark green */
    border-radius: 5px;
}

.nav-link {
    color: #ffffff; /* White */
}

.nav-link:hover {
    color: #c1e7e3; /* Lighter green */
}

.alert-success {
    background-color: #007b5a; /* KIT dark green */
    color: #ffffff; /* White */
}

.alert-warning {
    background-color: #f4b400; /* KIT yellow */
    color: #ffffff; /* White */
}

.btn-primary {
    background-color: #007b5a; /* KIT dark green */
    border-color: #007b5a; /* KIT dark green */
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #005740; /* Darker green */
    border-color: #005740; /* Darker green */
}

.btn-secondary {
    background-color: #005b96; /* KIT blue */
    border-color: #005b96; /* KIT blue */
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #004080; /* Darker blue */
    border-color: #004080; /* Darker blue */
}

.content {
    padding: 20px;
    background-color: #ffffff; /* White */
    border: 1px solid #dee2e6; /* Light gray */
    border-radius: 5px;
}


.alert {
    padding: 0.5rem 1rem; /* Adjust padding to align with nav items */
    margin-bottom: 0; /* No margin bottom */
}

.form-inline {
    display: flex;
    align-items: center;
}

/* General styling for headings */
h1, h2 {
    color: #005b96; /* KIT blue */
    margin-top: 4px;
    margin-bottom: 20px;
}

/* General styling for tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #dee2e6; /* Light gray */
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #007b5a; /* KIT dark green */
    color: #ffffff; /* White */
}

table td {
    background-color: #f8f9fa; /* Light gray background for table cells */
}

table td input, table td select {
    min-width: 50%;
}

table td textarea {
    min-width: 80%;
}

.comment-cell {
    font-size: 0.85em; /* Smaller font size for comment column */
    max-width: 150px;
}

/* General styling for links */
a {
    color: #005b96; /* KIT blue */
    text-decoration: none;
}

a:hover, a:focus {
    color: #003f7d; /* Darker blue for hover/focus state */
    text-decoration: underline;
}

.no-padding {
    padding: 0 !important;
}

.nav-divider {
    display: inline-block;
    width: 1px;
    height: 20px; /* Adjust the height as needed */
    background-color: #000; /* Adjust the color as needed */
    margin: 0 10px; /* Adjust the margin as needed */
    vertical-align: middle;
}