/* static/css/custom_admin.css */
body {
    background-color: white ;
    color: #333;
}

#header {
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: #1B3555;
    color: white;
    overflow: hidden;
}
div.breadcrumbs {
    background: #E2E8ED;
    padding: 10px 40px;
    border: none;
    color: #1B3555;
    text-align: left;
}
div.breadcrumbs a {
    color: #1B3555;
}
#branding h1 a:link, #branding h1 a:visited {
    color: white;
    font-size: 0.8125rem;
    font-weight: 400;
}
.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 8px;
    font-weight: 400;
    font-size: 0.8125rem;
    text-align: left;
    background: #1b3555;
    color: white;
}
#nav-sidebar .current-model {
    background: #e2e8ed;
}
.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: #1b3555;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    opacity: 30;
    color: var(--button-fg);
    cursor: pointer;
}

.aligned .form-row input, .aligned .form-row select, .aligned .form-row textarea {
    border-radius: 20px;
}

/* Target the visible Select2 container */
.select2-container .select2-selection {
    border-radius: 20px !important;
}

/* Optional: also round the dropdown itself */
.select2-container .select2-dropdown {
    border-radius: 20px !important;
}

/* Round the search input inside the dropdown */
.select2-container .select2-search--dropdown .select2-search__field {
    border-radius: 20px !important;
}


.related-widget-wrapper {
    border-radius: 20px;
}

.object-tools {
    display: none; /* Hide the "Save and continue editing" button */
}

.datetimeshortcuts {
    margin-right: 20px;
}
span.datetimeshortcuts a:not([id]) {
    display: none;
}

.custom-file-input {
    display: none; /* Hide the default file input */
}

.custom-file-label {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}

p.datetime {
    display: inline-flex;
    align-items: center;
    line-height: 20px;
    margin: 10;
    padding: 0;
    color: var(--body-quiet-color);
    font-weight: bold;
}
#nav-sidebar .current-app .section:link, #nav-sidebar .current-app .section:visited {
    color: white;
    font-weight: bold;
}
#user-tools {
    display: flex;
    justify-content: center; 
    align-items: center; 
}