.pointer{
    cursor: pointer!important;
}

.header-mar{
    z-index: 100!important;
    margin-top: -80px!important;
}
.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xs i {
    vertical-align: middle;
    font-size: 1em;
    line-height: 1;
    position: relative;
    top: -1px; /* Yukarı alır, gerekiyorsa -2px dene */
}

 div.dt-row {
    overflow-y: auto !important;
}

.required:not(span):before, td.required:before {
    content: '* ';
    color: #F00!important;
    font-weight: bold;
}

.required-blue:not(span):before, td.required-blue:before {
    content: '* ';
    color: #3f51b5!important;
    font-weight: bold;
}

label, select {
    cursor: pointer;
}

.erkek{
    color: #0d7cea;
}
.kadin{
    color: #e30f7f;
}
[data-bs-theme=dark] .erkek{
    color: #75baff;
}

[data-bs-theme=dark] .kadin{
    color: #ff64b6;
}

@-moz-document url-prefix() {


    body, html {
        scrollbar-color: rgb(26, 34, 38) transparent;
        scrollbar-width: thin;
    }
}


[data-bs-theme=dark]::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #253242;
    height: 3px;
}

[data-bs-theme=dark]::-webkit-scrollbar {
    width: 6px;
    background-color: #253242;
}


::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    height: 3px;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(20, 77, 129);
}

div::-webkit-scrollbar {

    width: 4px!important;
    height: 6px;
}
div::-webkit-scrollbar-thumb {
    background: transparent;
    width: 4px!important;
}

div:hover::-webkit-scrollbar-thumb {
    background-color: rgb(20, 77, 129);
}

#cookieBanner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 20px;
    z-index: 1050;
    display: none
}

#cookieBanner a {
    color: #ffc107;
    text-decoration: underline;
}

.shake-animation {
    animation: shake 0.5s;
    animation-iteration-count: 3;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

[data-bs-theme=dark] pre{
    background: floralwhite!important;
}


.p-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.p-tag-icon,
.p-tag-value,
.p-tag-icon.pi {
    line-height: 1.5;
}

.p-tag.p-tag-rounded {
    border-radius: 10rem;
}

.p-tag {
    background: #34d399;
    color: #030712;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
}
.p-tag.p-tag-success {
    background-color: #4ade80;
    color: #052e16;
}
.p-tag.p-tag-info {
    background-color: #38bdf8;
    color: #082f49;
}
.p-tag.p-tag-warning {
    background-color: #fb923c;
    color: #431407;
}
.p-tag.p-tag-danger {
    background-color: #f87171;
    color: #450a0a;
}
.p-tag.p-tag-secondary {
    background-color: #94a3b8;
    color: #020617;
}
.p-tag.p-tag-contrast {
    background-color: #ffffff;
    color: #111827;
}
.p-tag .p-tag-icon {
    font-size: 0.75rem;
}
.p-tag .p-tag-icon:not(:last-child) {
    margin-right: 0.25rem;
}
.p-tag .p-tag-icon.p-icon {
    width: 0.75rem;
    height: 0.75rem;
}



#modalLoader {
    position: absolute;
    top:    0;
    left:   0;
    width:  100%;
    height: 100%;
    background: rgba(30, 40, 53, 0.91);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#modalLoader.loader-hidden {
    display: none;
}

/* Dots container */
.loader-dots {
    display: flex;
    gap: 1rem;
}

/* Her bir dot */
.loader-dots .dot {
    width: 1rem;
    height: 1rem;
    background-color: #38bdf8;
    border-radius: 50%;
    animation: dotPulse 1s infinite ease-in-out both;
}

/* Farklı gecikmelerle üç dot’u sırasıyla animasyonlu yap */
.loader-dots .dot:nth-child(1) { animation-delay: 0s; }
.loader-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dots .dot:nth-child(3) { animation-delay: 0.4s; }

/* Nokta animasyonu: küçükten büyüğe, opaklıktan şeffaflığa */
@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    40% {
        transform: scale(1.8);
        opacity: 1;
    }
}


#selectedFiles {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.file-entry {
    display: flex;
    align-items: center;
}

.file-index {
    color: var(--bs-primary);
    font-weight: 600;
    margin-right: 6px;
}

.file-name {
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .file-name {
    color: #e0e0e0;
}
.custom-file-label {
    border: 2px dashed var(--bs-primary);
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.5rem;
    background-color: var(--bs-light);
    transition: all 0.2s ease-in-out;
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .custom-file-label {
    background-color: #1e1e1e;
    border-color: var(--bs-primary);
    color: var(--bs-light);
}

.custom-file-label:hover {
    background-color: var(--bs-secondary-bg-subtle);
}

#isel_file {
    display: none;
}

#selectedFiles {
    margin-top: 10px;
    font-size: 14px;
}

 .row-confirm-overlay {
     position: absolute;
     top: 0;
     left: 0;
     background: rgb(30, 40, 53) !important;
     width: 100%;
     height: 100%;
     z-index: 10;
     display: flex;
     justify-content: center;
     align-items: center;
 }

.row-confirm-content {
    text-align: center;
    color: white;
    padding: 2px;
}

.row-confirm-content button {
    margin: 0 8px;
}

.table-aesthetic {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.table-aesthetic thead th {
    background-color: var(--bs-light);       /* Düz açık zemin */
    color: var(--bs-dark);                   /* Koyu metin */
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .05em;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--bs-secondary);  /* İnce ayırıcı çizgi */
}

/* Koyu modda uyum için */
[data-bs-theme="dark"] .table-aesthetic thead th {
    background-color: #1E2835;        /* Düz koyu zemin */
    color: var(--bs-white);                  /* Açık metin */
    border-bottom-color: rgba(255,255,255,.2);
}

.table-aesthetic tbody tr {
    background-color: var(--bs-body-bg);
    transition: background-color .3s, transform .2s;
}
.table-aesthetic tbody tr:nth-of-type(odd) {
    background-color: rgba(var(--bs-secondary-rgb), .03);
}
.table-aesthetic tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), .05);
    transform: translateX(4px);
    box-shadow: 2px 2px 8px rgba(0,0,0,.1);
}
.table-aesthetic td {
    border: none;
    padding: .75rem 1.5rem;
    vertical-align: middle;
}

.no-click {
    pointer-events: none!important;
    cursor: default!important;
    opacity: 0.5!important;
}

.modal-dialog.modal-90 {
    width: 90% !important;
    max-width: 90% !important;
    margin: auto !important;
}

@media (max-width: 767.98px) {
    /* Mobilde geçerli olacak CSS buraya */
    .cmpMessage{
        border-right: none!important;
        border-bottom: 1px solid  var(--bs-border-color)
    }
}
.cmpMessage{
    border-right: 1px solid  var(--bs-border-color);
}

.cmpWrapper{
    margin: 1em 0 1em 0;
    border-bottom: 1px solid  var(--bs-border-color)
}