html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .75rem;
    }

        .card-header .btn {
            width: 100%;
        }

    .modal-dialog {
        margin: .5rem;
    }

    .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

        .modal-footer .btn {
            width: 100%;
        }

    .table-responsive {
        font-size: .875rem;
    }

    .btn-group.btn-group-sm .btn {
        padding: .35rem .5rem;
    }
}

@media (max-width: 576px) {
    .form-label {
        font-size: .875rem;
    }

    .card-body {
        padding: 1rem;
    }

    .input-group,
    .form-control,
    .form-select {
        font-size: .9rem;
    }
}
/*duyuru alanư*/
.announcement-wrapper {
    width: 100%;
    background: transparent;
    z-index: 1000;
}

.announcement-critical-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 12px 22px;
    background: linear-gradient(90deg, #fff3cd, #ffe8a1);
    color: #3d2c00;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.announcement-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-title {
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-message {
    font-size: 0.92rem;
    opacity: 0.9;
}

.announcement-badge,
.announcement-mini-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.65);
    color: inherit;
}

.announcement-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .announcement-close:hover {
        background: rgba(0, 0, 0, 0.16);
    }

.announcement-ticker {
    display: flex;
    align-items: center;
    min-height: 42px;
    background: #f8f9fa;
    color: #212529;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.announcement-ticker-label {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 18px;
    background: var(--primary-color, #0d6efd);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.announcement-ticker-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: announcementTicker 28s linear infinite;
}

.announcement-ticker:hover .announcement-ticker-content {
    animation-play-state: paused;
}

.announcement-ticker-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 48px;
    font-size: 0.92rem;
}

.announcement-mini-badge {
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary-color, #0d6efd);
}

@keyframes announcementTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

body.bg-dark .announcement-critical-card {
    background: linear-gradient(90deg, #4a3905, #5c4506);
    color: #ffe8a1;
}

body.bg-dark .announcement-ticker {
    background: #1f2327;
    color: #f8f9fa;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.bg-dark .announcement-mini-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media (max-width: 768px) {
    .announcement-critical-card {
        align-items: flex-start;
        padding: 12px 14px;
    }

    .announcement-title {
        flex-wrap: wrap;
    }

    .announcement-message {
        font-size: 0.86rem;
    }

    .announcement-ticker-label {
        padding: 0 12px;
    }
}
/*duyuru alanư*/


.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

table.dataTable thead th,
table.dataTable thead td {
    white-space: nowrap !important;
    vertical-align: middle;
}