
:root {
  --theme-success-rgb: 29, 201, 183;
  --theme-danger-rgb: 253, 57, 149;
  --theme-warning-rgb: 255, 194, 65;
  --theme-info-rgb: 9, 96, 165;
  --theme-primary-rgb: 86, 61, 124;
}


.aside-logo {
  max-width: 130px;
}

.page-logo {
  padding-inline: 20px;
}


.timeline-container {
  position: relative;
  margin-left: 20px;
}

.timeline-item {
  position: relative;
  align-items: flex-start;
}


.timeline-dot {
  width: 12px;
  height: 12px;
  background-color: #1dc9b7;
  border-radius: 50%;
  position: absolute;
  left: -24px;
  top: 12px;
}

.timeline-danger .timeline-dot {
  background-color: var(--danger) !important;
}

.was-validated .form-control:invalid~.select2 .select2-selection {
  border-color: var(--danger) !important;
}

.was-validated .form-control:valid~.select2 .select2-selection {
  border-color: var(--success) !important;
}

.personel-durum-bilgi::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 2px;
}


.custom-tab .panel {
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
}


body:has(.modal.show) {
  overflow: hidden !important;
}
td.tablo-onaylandi,
td:has(.tablo-onaylandi),
td:has(.tablo-success),
td.tablo-success,
td:has(.tablo-success) {
  background: rgba(var(--theme-success-rgb), .3) !important;
}

td.tablo-beklemede,
td:has(.table-beklemede),
td.tablo-warning,
td:has(.tablo-warning) {
  background: rgba(var(--theme-warning-rgb), .3) !important;
}

td.tablo-reddedildi,
td:has(.tablo-reddedildi),
td:has(.tablo-danger),
td.tablo-danger,
td.tablo-iptal_edildi,
td:has(.tablo-danger) {
  background: rgba(var(--theme-danger-rgb), .3) !important;
}

td.tablo-info,
td:has(.tablo-info) {
  background: rgba(var(--theme-info-rgb), .3) !important;
}


.ana-sayfa-link .col-xl-6 {
  transition: .4s ease;
}

.ana-sayfa-link .col-xl-6:hover {
  scale: 1.02;
}

td.tablo-izinli,
td:has(.tablo-izinli) {
  background: rgba(var(--theme-primary-rgb), .3) !important;
}


@media screen and (min-width: 580px) {
  .modal-fullscreen {
    width: 90% !important;
    max-width: none !important;
  }
}

.custom-badge {
  font-size: .75rem;
  padding: 4px 6px;
}

.timeline-dot.dot-yellow {
  background-color: #FFC107;
}

.timeline-wrapper .timeline-download-button {
  position: absolute !important;
  right: 10px;
  bottom: 10px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ccc;
}

.choosable-row.choosen {
  background: rgba(0, 0, 0, .15) !important;
}




.proje-panel-loader {
  display: none;
  width: calc(100% - 1.5rem);
  height: 100%;
  position: absolute;
  top: -10px;
  min-height: 50vh;
  z-index: 100;
  left: .75rem;
  background: rgba(0, 0, 0, .4);
  border-radius: 6px;
}

.modal-information-box {
  font-size: .9rem;
}

.modal-information-box .key {
  display: flex;
  justify-content: space-between;
  font-weight: 600;

}
.timeline-loading {
  width: 35px;
  translate: -50% -50%;
  position: absolute;
  left: 50%;
  top: 45%;
  display: none;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: var(--primary);
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation .7s linear infinite;
}



.timeline-title {
  display: flex
;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  font-size: .9rem;
  font-weight: 500;
}

.timeline-title small {
  margin: 0;
  font-weight: 500;
}

.timeline-wrapper.loading .timeline-loading {
  display: inline-block;
}

.timeline-wrapper.loading .timeline-container {
  display: none;
}


.modal-information-box .key::after {
  content: ":";
}

.proje-panel-loader::after {
  content: "";
  width: 48px;
  translate: -50% -50%;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation .7s linear infinite;
}

.proje-panel.loading  .proje-panel-loader{
  display: block;
}
.proje-panel.loading  .proje-panel-content{
  display: none;
}

.page-logo-link {
  justify-content: space-between;
}

.nav-function-minify .aside-logo {
  max-width: 50px !important;
}

body:has(.page-login) .page-header {
  display: none !important;
}

body:has(.page-login) .page-footer {
  display: none !important;
}

.custom-password-input {
  position: relative;
}

.form-yeni-box-wrapper.silinecek {
  box-shadow: 0 0 10px 3px rgba(var(--theme-danger-rgb), .3);
}
.form-yeni-box-wrapper .silinecek-label {
  display: none;
}
.form-yeni-box-wrapper.silinecek .silinecek-label {
  display: block;
}

.form-yeni-box-wrapper .silinmeyecek-button-label {
  display: none;
}

.form-yeni-box-wrapper.silinecek .silinecek-button-label {
  display: none;
}
.form-yeni-box-wrapper.silinecek .silinmeyecek-button-label {
  display: block;
}
.form-ekle-button-wrapper {
  display: flex
;
  align-items: center;
  gap: 10px;
  font-size: 13pt;
  font-weight: 500;
}

@media screen and (max-width: 769px) {
  .panel-hdr .tutucu-baslik {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.was-validated .form-group.custom-validate:has(.form-control:invalid)::after {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fd3995%27 viewBox=%27-2 -2 7 7%27%3e%3cpath stroke=%27%23fd3995%27 d=%27M0 0l3 3m0-3L0 3%27/%3e%3ccircle r=%27.5%27/%3e%3ccircle cx=%273%27 r=%27.5%27/%3e%3ccircle cy=%273%27 r=%27.5%27/%3e%3ccircle cx=%273%27 cy=%273%27 r=%27.5%27/%3e%3c/svg%3e");
  background-size: calc(0.735em + 0.5rem) calc(0.735em + 0.5rem);
  width: calc(0.735em + 0.5rem);
  height: calc(0.735em + 0.5rem);
  position: absolute;
  right: 44px;
  top: 55%;
}

/* Tüm tarayıcılar için */
input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}

/* Webkit tabanlı tarayıcılar (Chrome, Safari, Edge) */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  align-items: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  display: flex;
  justify-content: center;
  z-index: 9999;
  transition: .2s ease;
  background: rgba(0, 0, 0, .8);
}

body.loading .loader-wrapper {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
}

.inner-text:not(:last-child) {
  margin-right: 8px;

}

.inner-text {
  display: inline-block;
}

.page-loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation .7s linear infinite;
}

.was-validated select.form-control:valid .select2,
.was-validated select.form-control.is-valid .select2{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231dc9b7' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right calc(0.3675em + 0.25rem);
  background-size: calc(0.735em + 0.5rem) calc(0.735em + 0.5rem);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.form-group:has(select[readonly]) .select2 {
  pointer-events: none;
}

.form-group:has(select[readonly]) .select2-selection {
  background: rgba(0, 0, 0, .05);
}

.has-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.personel-durum {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  margin-left: 15px;
  text-transform: capitalize;
}

.personel-durum.bekleniyor {
  background-color: #ffc107; /* sarı */
  color: #212529;
}

.personel-durum.reddedildi {
  background-color: #dc3545; /* kırmızı */
}

.personel-durum.onaylandi {
  background-color: #28a745; /* yeşil */
}


.btn.loading{
  pointer-events: none; /* Butonu tıklanamaz yap */
  opacity: 0.6;
  position: relative;
  color: transparent;
}



.btn.loading::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #FFFFFF;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.was-validated .form-group.custom-validate:has(.form-control:valid) .select2-selection {
  border-color: #1dc9b7 !important;
}
.was-validated .form-group.custom-validate:has(.form-control:invalid) .select2-selection {
  border-color: #fd3995 !important;
}

.was-validated .form-group.custom-validate:has(.form-control:valid)::after {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231dc9b7' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-size: calc(0.735em + 0.5rem) calc(0.735em + 0.5rem);
  width: calc(0.735em + 0.5rem);
  height: calc(0.735em + 0.5rem);
  position: absolute;
  right: 44px;
  top: 55%;
}

.act-hidden {
  position: fixed;
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  transition: .2s ease all;
}

.act-show {
  position: relative;
  z-index: 0;
  visibility: visible;
  opacity: 1;
  transition: .2s ease all;
}


.custom-page-wrapper {
  padding: 20px;
}

.custom-page {
  display: none;
}

.custom-page.active {
  display: block;
}

.silinecek-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  background: var(--danger);
  color: white;
  font-size: 13pt;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 0 0 6px 6px;
}
.custom-password-input .button__password__toggle {
  position: absolute;
  right: 0px;
  bottom: 0px;
  background: none;
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-password-input:has(input[type="password"]) .fa-eye {
  display: none !important;
}
.custom-password-input:has(input[type="text"]) .fa-eye-slash {
  display: none !important;
}

.was-validated .form-group:has(.custom-password-input) .form-control:invalid {
  background-position: center right calc(2em + 0.25rem) !important;
}
.was-validated .form-group:has(.custom-password-input) .form-control:valid {
  background-position: center right calc(2em + 0.25rem) !important;
}

.dz-remove {
  background: var(--danger) !important;
  color: var(--light) !important;
  border-radius: 4px !important;
}

.dz-error-message {
  top: 150px !important;
}

.profile-img-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-img-wrapper .profile-img {
  max-width: 100%;
  max-height: 100%;
}

.profile-img-wrapper img + img {
  display: none !important;
}

.profile-img.will-delete {
  opacity: 0.2;
}

.will-delete-layout {
  width: 100%;
  height: 100%;
  position: absolute;
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  background: #fd399530;
  color: var(--danger);
  display: none;
}

.profile-img-container:has(.will-delete) .will-delete-layout {
  display: flex !important;
}

#boosting_options.hidden {
  display: none;
}

.urun-image-box {
  margin: 8px 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 15px;
  white-space: nowrap;
  min-height: 110px;
}

.urun-image-wrapper {
  width: 100px;
  min-width: 100px;
  height: 100px;
  min-height: 100px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  justify-content: center;
  position: relative;
}

.urun-image-wrapper.will-delete {
  opacity: 0.3;
}

.urun-image {
  max-width: 100%;
  max-height: 100%;
}

.button__delete__image {
  background: var(--danger);
  color: var(--light);
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 4px;
  position: absolute;
  right: 4px;
  top: 4px;
}

.list-link {
  display: flex;
  justify-content: space-between;
}

th {
  white-space: nowrap !important;
}

.info-image-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
}
