body {
  background-color: #f8f9fa !important;
}
header {
  background-color: #fff;
}

.profile-sidebar {
  display: flex;
  font-size: 0.85rem;
  flex-direction: column;
  width: 320px;
  float: left;
  background: var(--primary-color);
}

.profile-main-content {
  width: 100%;
  max-width: 1320px;
  position: relative;
  padding: 2rem;
  height: 100%;
  min-height: calc(100vh - 90px);
}

.profile-main-content .container {
  max-width: 100%;
  margin-top: 0;
}

.info-card {
  color: #9d9d9d;
  background-color: #f1f1f1;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: center;
}

.info-card .icon {
  font-size: 2rem;
}

.info-card .message {
  margin-top: 0.5rem;
}

.info-card .icon,
.info-card .message {
  text-align: center;
}

.profile-main-content h4,
.profile-main-content h5 {
  margin-left: 0;
  padding-left: 0;
  /*font-size: 1rem;*/
}

.pt-1 {
  padding-top: 1rem;
}
.pt-2 {
  padding-top: 2rem;
}
.pt-3 {
  padding-top: 3rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pl-0 {
  padding-left: 0px !important;
}

.pr-0 {
  padding-right: 0px !important;
}

.pb-3 {
  padding-bottom: 3rem;
}

.tt_button i {
  color: #fff;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.alert-danger i {
  color: #a94442;
}

.alert-success i {
  color: #3c763d;
}

.text-small {
  font-size: 0.85rem;
}

#ihtiyac-form input:disabled {
  background-color: #e7e7e7 !important;
  cursor: not-allowed;
}

.uppercase {
  text-transform: uppercase;
}

.hesap-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.hesap-container .col-md-3 {
  max-width: 320px;
}

.hesap-container .card {
  border-radius: 0.5rem;
  border: 1px solid #dee0e4;
  margin-top: 1rem;
}
.card-header {
  font-size: 0.875rem !important;
  padding: 1rem !important;
  background-color: #fff !important;
  border-radius: 0.5rem 0.5rem 0 0 !important;
}

.card-header h6 {
  line-height: 1.2;
  font-size: 0.875rem;
}

.card-body {
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem;
}

.card-header a:hover,
.card-body a:hover {
  color: var(--primary-color);
  transition: color 0.25s ease;
}

.hesap-container .card .count {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.name {
  color: #fff;
  background-color: rgb(0 0 0 / 25%);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.name small {
  font-size: 0.75rem;
}

a p {
  font-weight: normal;
}

.avatar {
  color: var(--primary-color);
  font-weight: 600;
  width: 52px;
  height: 52px;
  background-color: #fff;
  border: 4px solid #ccc;
  border-radius: 100%;
  margin-right: 1rem;
  justify-content: center;
  display: flex;
  align-items: center;
}

.profile-menu {
  width: 100%;
}

.profile-menu a,
.profile-menu a:focus,
.profile-menu a:hover {
  display: flex;
  align-items: center;
  margin: 0.5rem 1rem;
  border-radius: 0.25rem;
  padding: 14px 20px;
  color: #fff;
  font-weight: 400;
}

.profile-menu a i {
  display: flex;
  color: #fff;
  vertical-align: middle;
  margin-right: 0.75rem;
  margin-left: 0.75rem;
  line-height: 22px;
  font-weight: 600;
}

.profile-menu a:hover {
  background-color: rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease;
}

.profile-menu a.active {
  color: #3d3d3d;
  font-weight: 600;
  background-color: #eff1f6;
}

.profile-menu a.active i {
  color: var(--primary-color);
}

#user_filter {
  display: flex;
  justify-content: flex-end;
}

#user_filter select {
  margin-right: 0.5rem;
}

#user_filter .btn {
  padding: 0.25rem 1.25rem;
  font-size: 0.875rem;
}

.form-select {
  display: block;
  padding: 0.6rem 2rem 0.6rem 1rem;
  -moz-padding-start: calc(1rem - 3px);
  background-color: #fbfbfb;
  line-height: 1.7;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%2360697b' d='M22.667 12.227c-0.241-0.24-0.573-0.388-0.94-0.388s-0.699 0.148-0.94 0.388l0-0-4.787 4.72-4.72-4.72c-0.241-0.24-0.573-0.388-0.94-0.388s-0.699 0.148-0.94 0.388l0-0c-0.244 0.242-0.394 0.577-0.394 0.947s0.151 0.705 0.394 0.947l5.653 5.653c0.242 0.244 0.577 0.394 0.947 0.394s0.705-0.151 0.947-0.394l0-0 5.72-5.653c0.244-0.242 0.394-0.577 0.394-0.947s-0.151-0.705-0.394-0.947l-0-0z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.button-submit {
  margin: 0 !important;
}

.need {
  color: #000;
  margin-bottom: 1rem;
}

.need .head {
  display: flex;
  cursor: pointer;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 0.5rem;
  padding: 1rem;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.need .head.active {
  border-radius: 0.5rem 0.5rem 0 0;
}

.need .head::after {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACbSURBVHgB7dOxDcMgEAVQIAukRWwB7JVs4MsGGSnpUjAHjEHuIhdpbJ3P7X/SSbZ04v8CnAMAAFAopdxyzsvB/btmN2iW5pyekabEuvMMIVydwkWzNMb4pJQ8f1KMUf7fW+FSlOfRWiPN2aoCovf+2ithCT9UYK+ENVx4Z1BrJb4XCw/9DjGGmwv8l1gLmMJPkxI8qucGAACw5Quw+0fMyNezHwAAAABJRU5ErkJggg==);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  right: 0.5rem;
}

.need .head.active::after {
  transform: rotate(180deg);
}

.need .content {
  display: none;
  border: 1px solid #e8e8e8;
  border-radius: 0 0 0.5rem 0.5rem;
  border-top: 0;
  padding: 0.16rem;
  position: relative;
  width: 100%;
}

.need .content.active {
  display: flex;
}

.content .details span {
  display: flex;
  width: 100%;
  font-weight: 600;
  margin-top: 2rem;
}

.login-container {
  max-width: 480px;
}

.login-container .alert {
  border-radius: 0.5rem;
}

.form #map {
  border: 1px solid #e7e7e7;
}

.form .col-md-6,
.form .col-md-12 {
  padding-left: 0;
}

.title {
  display: flex;
  font-weight: 500;
  margin-bottom: 1rem;
}

.form-select-sm {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.table .badge {
  font-weight: 500 !important;
}

.table-responsive {
  min-height: 180px;
}

table > tbody > tr:hover td {
  background-color: #fbfbfb;
  transition: background-color 0.25s ease;
}

table > tbody > tr > td b {
  font-weight: 500;
}

.w-250 {
  min-width: 250px;
}

thead {
  font-weight: 600;
}

.table thead td {
  color: #666;
  background: rgb(165 165 165 / 10%) !important;
}

#datatable {
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0 0.5rem 0 0.5rem !important;
}

.dataTables_length {
  margin-left: 1rem;
}

div.dt-buttons > .dt-button,
div.dt-buttons > div.dt-button-split .dt-button {
  color: #fff !important;
  background-color: var(--primary-color) !important;
  border: none !important;
  border-radius: 0.25rem !important;
}

div.dt-buttons > .dt-button:focus:not(.disabled),
div.dt-buttons > div.dt-button-split .dt-button:focus:not(.disabled) {
  outline: 0px !important;
}

.table {
  color: #000;
}

.table > thead > tr > th {
  font-weight: 500 !important;
  border: 0px !important;
}

table > tbody > tr {
  line-height: 2.2rem;
  border-bottom-width: 1px;
  border-color: #e0e6ed66 !important;
}

table tbody tr td,
table tbody tr th {
  vertical-align: middle !important;
  border-bottom-width: 1px;
  border-color: #e0e6ed66;
  padding: 0.75rem 1rem;
}

.table.table-hover > tbody > tr:hover > * {
  box-shadow: none !important;
}

.table .table-hover > tbody > tr:hover {
  background-color: #eff1f6;
}

label,
.dataTables_paginate {
  font-size: 0.875rem;
  font-weight: 400 !important;
}

label input:focus-visible {
  outline: none !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.badge {
  padding: 0.5rem !important;
  font-size: 0.75rem !important;
  background-color: transparent !important;
}

.bg-label-success {
  background-color: #54ba4a !important;
  color: #fff !important;
}

.bg-label-info {
  background-color: #def6fe !important;
  color: #26c6f9 !important;
}

.bg-label-warning {
  background-color: #ffaa05 !important;
  color: #fff !important;
}

.bg-label-danger {
  border: 1px solid #ffe4e4 !important;
  color: #ff4d49 !important;
}

.bg-label-gray {
  background-color: #888 !important;
  color: #fff !important;
}

.buttons-collection i {
  color: #fff;
  margin-right: 0.5rem;
}

div.dt-button-collection .dt-button-active:after {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  right: 1em;
  display: inline-block;
  content: "✓";
  color: inherit;
}

button[disabled],
html input[disabled] {
  cursor: not-allowed !important;
}

.hesap-bilgileri .list-group-item {
  padding: 1rem 0rem;
}

@media screen and (max-width: 1025px) {
  .profile-sidebar {
    width: 100%;
    max-width: 100%;
    min-height: inherit;
    height: auto;
    padding-bottom: 2rem;
  }

  .profile-main-content {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    margin: 0;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100%;
  }

  #user_filter {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  #user_filter .filter-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0.5rem;
  }

  #user_filter .btn {
    padding: 0.5rem;
    width: 100%;
  }

  #user_filter select {
    width: 100% !important;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .hesap-container,
  .login-container {
    flex-direction: column;
    margin-top: 0px;
  }

  .title {
    margin-top: 3rem;
  }
}
