:root {
    --bs-font-sans-serif: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-weight: 500;
}

body {
    font-family: var(--bs-body-font-family);
    font-weight: var(--bs-body-font-weight);
}

/* Native form controls do not always inherit the page font weight. */
input,
select,
textarea,
.form-control,
.form-select {
    font-weight: 500;
}

.card-title,
.form-label,
.table thead th,
.timeline-header {
    font-weight: 500;
}

.timeline-body {
    font-weight: 500;
}

.sidebar-brand .brand-link .brand-image {
    display: block;
    float: none;
    width: auto !important;
    max-width: 210px;
    height: auto !important;
    max-height: 46px;
    margin: 0 auto !important;
    object-fit: contain;
}

.sidebar-brand .brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.dashboard-firma-logo-table {
    width: 36px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
}

.dashboard-firma-logo-card {
    width: auto;
    max-width: 70px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.firma-logo-list {
    width: auto;
    max-width: 100px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

.firma-logo-preview {
    width: auto;
    max-width: 75px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    text-transform: uppercase;
    flex-shrink: 0;
}

input.form-control[type="date"],
input.form-control[type="datetime-local"],
input.form-control[type="month"] {
    appearance: auto;
}

input.form-control[type="date"]::-webkit-calendar-picker-indicator,
input.form-control[type="datetime-local"]::-webkit-calendar-picker-indicator,
input.form-control[type="month"]::-webkit-calendar-picker-indicator {
    display: block;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.portal-date-group {
    flex-wrap: nowrap;
}

.portal-date-group > .form-control {
    min-width: 0;
}

.portal-date-group > .portal-date-button {
    flex: 0 0 42px;
}

.header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.header-avatar2 {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.header-notifications-menu {
    width: min(520px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
}

.header-notifications-menu.show {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 84px);
    overflow: hidden;
}

.header-notifications-list {
    overflow-y: auto;
    max-height: calc(100vh - 190px);
}

.header-notifications-menu .dropdown-item {
    white-space: normal;
}

.header-notifications-menu button.dropdown-item {
    width: 100%;
}

.header-notifications-menu .text-wrap {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .header-notifications-menu {
        width: calc(100vw - 16px);
    }
}

.table tbody tr.dosya-goruntuleme-uyari > td {
    background-color: #fbe1e3 !important;
    box-shadow: none !important;
    color: #721c24;
}

.table tbody tr.dosya-goruntuleme-uyari > td:first-child {
    border-left: 4px solid #c62828;
}

.table tbody tr.dosya-goruntuleme-uyari a {
    color: #8b1533;
}

.table tbody tr.dosya-goruntuleme-uyari > td.text-danger,
.table tbody tr.dosya-goruntuleme-uyari .text-danger {
    color: #8b1533 !important;
}

.table tbody tr.dosya-goruntuleme-uyari:hover > td {
    background-color: #f8cbd0 !important;
}

[data-bs-theme="dark"] .table tbody tr.dosya-goruntuleme-uyari > td {
    background-color: #4b2029 !important;
    color: #fff1f2;
}

[data-bs-theme="dark"] .table tbody tr.dosya-goruntuleme-uyari a,
[data-bs-theme="dark"] .table tbody tr.dosya-goruntuleme-uyari > td.text-danger,
[data-bs-theme="dark"] .table tbody tr.dosya-goruntuleme-uyari .text-danger {
    color: #ffd4dc !important;
}

[data-bs-theme="dark"] .table tbody tr.dosya-goruntuleme-uyari:hover > td {
    background-color: #642834 !important;
}
