* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif; /* Montserrat yazı tipini ekledik */
}

.container {
  display: flex;
  height: 100vh;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 9997;
}

.header .header-left {
  font-size: 20px;
  margin-left: 270px;
  font-weight: 600;
}

.header .header-right {
  display: flex;
  align-items: center;
}

.header .header-right span {
  margin-right: 20px;
}

.header .header-right .fas {
  margin-right: 20px;
  cursor: pointer;
}

.header .header-right .logout-btn {
  background-color: #743838;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 10px;
  text-decoration: none;
}

.logout-btn .a {
  text-decoration: none;
}

.header .header-right .logout-btn:hover {
  background-color: #5c1e1e;
}

.header .header-right .menu-toggle {
  display: none;
  font-size: 24px;
}

.header i {
  font-size: 24px;
}

.notification {
  position: relative;
  font-size: 24px;
}

.notification-content {
  display: none;
  position: absolute;
  font-size: 15px;
  top: 35px;
  right: -20px;
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  width: 380px;
  line-height: 1.7;
  z-index: 1000;
}

.notification:hover .notification-content {
  display: block;
}

.notification-dot {
  position: absolute;
  top: 5px;
  left: 12px;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  display: none;
  animation: dot 1s infinite;
}

@keyframes dot {
  0% {
    background-color: #c90e0e;
  }
  50% {
    background-color: #c48181;
  }
  100% {
    background-color: #c90e0e;
  }
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100%;
  background-color: #f9f9f9;
  padding: 20px;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 9998;
}

.settings-area {
  display: flex;
  justify-content: right;
  cursor: pointer;
}

.settings i {
  padding: 10px;
  font-size: 24px;
  color: #2b2b2b;
  border-radius: 5px;
}

.settings i:hover {
  background-color: #ececec;
}

.signout {
  display: none;
}

.signout i {
  padding: 10px;
  font-size: 24px;
  color: #2b2b2b;
  border-radius: 5px;
}

.signout i:hover {
  background-color: #ececec;
}

.sidebar .menu ul {
  list-style: none;
}

.sidebar .menu ul li {
  margin: 10px 0;
}

.sidebar .menu ul li a {
  color: #1f1f1f; /* Metin rengini siyah yap */
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.sidebar .menu ul li a:hover {
  background-color: #ececec;
}

.sidebar .menu ul li a .icon {
  margin-right: 10px; /* İkon ile metin arasında boşluk */
}

.sidebar .menu ul li a .text {
  flex: 1;
}

.sidebar .menu ul li a.active {
  background-color: #ececec; /* Aktif menü öğesi rengi */
  font-weight: bold; /* Aktif menü öğesi kalın yap */
}

.sidebar .menu ul .submenu {
  display: none;
  list-style: none;
  padding-left: 20px;
}

.sidebar .menu ul .submenu li {
  margin: 10px 0;
}

.sidebar .menu ul .submenu-toggle.active .submenu {
  display: block;
}

.content {
  margin-left: 260px;
  padding: 80px 20px 20px 20px;
  flex: 1;
}

.content h1 {
  margin-left: 10px;
}

.hidden {
  display: none;
}

.logout-btn-sidebar {
  margin-right: 20px;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 9999;
}

.scroll-to-top.show {
  display: block;
}

.scroll-to-top i {
  margin: 0;
}

.bread {
  width: calc(100% - 20px);
  background-color: #333333;
  color: #fff;
  margin: 0 10px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.bread-2 {
  width: calc(100% - 20px);
  background-color: #333333;
  color: #fff;
  margin: 0 10px;
  margin-bottom: 15px;
  padding: 20px;
}

.bread-2 a {
  text-decoration: none;
  color: #eedf89;
}

.bread-2 a:hover {
  text-decoration: none;
  color: #c5b76a;
}

.bread a {
  text-decoration: none;
  color: #eedf89;
}

.bread a:hover {
  text-decoration: none;
  color: #c5b76a;
}

.bread-text {
  display: flex;
  align-items: center;
  padding: 20px;
}

.bread-text i {
  color: #45ceb2;
  font-size: 20px;
  margin-left: 10px;
}

.bread-text a {
  margin-right: 5px;
}

.bread-text .separator {
  margin-right: 5px;
}

.form-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-logo img {
  width: 300px;
  margin-bottom: 20px;
}

.title h1 {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.container-form {
  display: flex;
}

.form-container-login {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.form-container-register {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  border-radius: 10px;
}

.form-container h2 {
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.input-group input[type="submit"] {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #2f5c53;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.input-group input[type="submit"]:hover {
  background-color: #234b43;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #2f5c53;
  outline: none;
}

.input-group-wrapper {
  display: flex;
  justify-content: space-between;
}
.input-group-wrapper .input-group {
  flex: 1;
  margin-right: 10px;
}
.input-group-wrapper .input-group:last-child {
  margin-right: 0;
}

.input-group.dollar {
  width: 70%;
  margin-right: 3px;
  flex: 0 0 200px;
}

/* Login Form Stili */
.login-container .form-container {
  padding: 30px 30px;
}

.login-container .form-container h2 {
  margin-bottom: 30px;
}

/* Register Form Stili */
.register-container .form-container {
  padding: 30px 40px;
}

.register-container .form-container h2 {
  margin-bottom: 20px;
}

/* Copyright Stili */
.copyright {
  text-align: center;
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.copyright a {
  color: #2f5c53;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.user-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.user-card {
  background-color: #f0f0f0;
  border: 1px solid #cfcfcf;
  width: 90%;
  max-width: 400px;
  margin: 10px;
  padding: 20px;
  position: relative;
}

.user-info {
  margin-bottom: 20px;
}

.edit-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.edit-link i {
  color: #2a3c4e;
}

.edit-link a {
  color: #2a3c4e;
  text-decoration: none;
}

.edit-link a:hover {
  color: #1a2836;
}

.divider {
  border-bottom: 1px solid #cfcfcf;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 15px;
}

.btn-danger-area {
  display: flex;
  justify-content: right;
}

.btn-danger {
  background-color: #80211b;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-danger:hover {
  background-color: #691913;
}

.ayar-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.ayar-card {
  background-color: #fdfdfd;
  border: 1px solid #cfcfcf;
  width: calc(25% - 20px);
  margin: 10px;
  padding: 20px;
  position: relative;
  cursor: pointer;
}

.ayar-card:hover {
  background-color: #f0f0f0;
}

.ayar-card a {
  text-decoration: none;
  color: #222222;
}

.ayar-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-bottom: 10px;
}

.ayar-info i {
  font-size: 24px;
  margin-bottom: 10px;
}

.ayar-info:last-child {
  margin-bottom: 0;
}

.add-button {
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #2e8876;
  color: #fff;
  cursor: pointer;
  padding: 20px;
  font-weight: 500;
  align-items: center;
}

.add-button a {
  color: #fff;
}

.add-button a:hover {
  color: #f1f1f1;
}

.add-button i {
  padding-right: 5px;
}

.add-button:hover {
  background-color: #297e6d;
}

#success-message {
  position: fixed;
  top: 160px;
  right: 30px;
  background-color: #28a745; /* Başarılı işlem rengi, yeşil */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.error-message {
  position: fixed;
  top: 160px;
  right: 30px;
  background-color: #a72828; /* Başarılı işlem rengi, yeşil */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.sms-phones {
  line-height: 2;
}

.sms-phones-text {
  font-weight: 500;
}

.sms-phones-delete {
  border: none;
  background: none;
  color: #a72828;
  cursor: pointer;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  margin-bottom: 10px;
}

.payment-card-container-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cfcfcf;
  margin: 10px;
  width: calc(25% - 20px);
  box-sizing: border-box;
  line-height: 2;
  position: relative;
}

.payment-card-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cfcfcf;
  margin: 10px;
  width: calc(25% - 20px);
  box-sizing: border-box;
  line-height: 2;
  position: relative;
  cursor: move;
  user-select: none;
}

.edit-bank {
  position: absolute; /* Sağ üst köşeye yerleştirmek için */
  top: 5px; /* Üstten mesafe */
  right: 10px; /* Sağdan mesafe */
  padding-left: 20px; /* İç boşlukları sıfırla */
  display: flex; /* İçeriği ortalamak için flex kullanımı */
  align-items: center; /* Yatayda ortalama */
  justify-content: center; /* Dikeyde ortalama */
  z-index: 1; /* Diğer içeriklerin üstünde görünmesi için */
  display: none; /* Başlangıçta görünmez */
  font-size: 20px;
  color: #fff;
}

.edit {
  position: absolute; /* Sağ üst köşeye yerleştirmek için */
  bottom: 40px; /* Üstten mesafe */
  right: 10px; /* Sağdan mesafe */
  padding-left: 20px; /* İç boşlukları sıfırla */
  display: flex; /* İçeriği ortalamak için flex kullanımı */
  align-items: center; /* Yatayda ortalama */
  justify-content: center; /* Dikeyde ortalama */
  z-index: 1; /* Diğer içeriklerin üstünde görünmesi için */
  display: none; /* Başlangıçta görünmez */
  font-size: 20px;
  color: #111111;
}

.edit a {
  color: #111111;
}

.edit a:hover {
  color: #000;
}

.payment-card-container:hover .edit {
  display: flex; /* Hover durumunda görünür ve flex ile ortalanır */
}

.payment-card-container:hover .edit-bank {
  display: flex; /* Hover durumunda görünür ve flex ile ortalanır */
}

.payment-card-container-main:hover .edit {
  display: flex; /* Hover durumunda görünür ve flex ile ortalanır */
}

.payment-card-container-main:hover .edit-bank {
  display: flex; /* Hover durumunda görünür ve flex ile ortalanır */
}

.payment-plan-card-container:hover .edit {
  display: flex; /* Hover durumunda görünür ve flex ile ortalanır */
  margin-bottom: -20px;
}

.payment-card {
  display: flex;
  flex-direction: row;
}

.payment-plan-card-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cfcfcf;
  margin: 10px;
  width: calc(25% - 20px);
  box-sizing: border-box;
  line-height: 2;
  position: relative;
}

.payment-plan-card {
  display: flex;
  flex-direction: column;
}

.payment-plan-card-top {
  display: flex;
  background-color: #f3f3f3;
  font-weight: 500;
  align-items: center;
  justify-content: center;
}

.payment-plan-card-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-plan-card-bottom i {
  padding: 20px;
  font-size: 50px;
}

.input-group i {
  font-size: 50px;
}

.payment-card-left {
  width: 35%;
  font-weight: 500;
  background-color: #f7f7f7;
  border-right: 1px solid #cfcfcf;
}

.payment-card-right {
  width: 65%;
  background-color: #fdfdfd;
}

.payment-info {
  display: flex;
  border-bottom: 1px solid #cfcfcf;
  padding: 0 5px 0 10px;
}

.iban-whatsapp {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #cfcfcf;
  padding: 0 5px 0 10px;
}

.iban-whatsapp:last-child {
  border-bottom: none;
}

.whatsapp {
  cursor: pointer;
}

.whatsapp:hover {
  color: #474747;
}

.payment-info-data {
  border-bottom: 1px solid #cfcfcf;
  padding: 0 5px 0 10px;
}

.payment-info-data a {
  color: #1f69be;
}

.payment-info:last-child {
  border-bottom: none;
}

.payment-info-data:last-child {
  border-bottom: none;
}

.payment-card-status {
  display: flex;
  justify-content: center;
  background-color: #3b6083;
  color: #fff;
  font-weight: 500;
}

.payment-card-bank {
  display: flex;
  justify-content: left;
  background-color: #3b6083;
  color: #fff;
  font-weight: 500;
  padding-left: 10px;
}

.paid {
  background-color: #41833b;
}

.cancelled {
  background-color: #832a2a;
}

@keyframes flash {
  0% {
    background-color: #832a2a;
  }
  50% {
    background-color: #3b6083;
  }
  100% {
    background-color: #832a2a;
  }
}

.flash-background {
  animation: flash 1s infinite;
}

.tooltip,
.tooltip-2,
.tooltip-3 {
  visibility: hidden;
  width: auto;
  max-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px 20px;
  position: absolute;
  z-index: 9999;
}

.creditor:hover .tooltip,
.description:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.iban {
  cursor: pointer;
}

.iban:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.payment-table .tooltip-2 {
  margin-left: 0;
  margin-top: 0;
}

.creditor:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.description:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.payment-table td:hover .tooltip-2 {
  visibility: visible;
  opacity: 1;
}

.creditor,
.description {
  padding-left: 5px;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  border: 1px solid #cfcfcf;
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
  margin-right: 10px;
}

#resetFilterButton {
  background-color: #854949;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: 1px solid #6d3636;
  cursor: pointer;
  margin-right: 10px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 385px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  border-bottom: 1px solid #cfcfcf;
  width: 100%;
  align-items: center;
}

.dropdown-content i {
  margin-left: 10px;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: row;
}

.ikili {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #cfcfcf;
  width: 100%;
}

.ikili:last-child {
  border-right: none;
}

.filter-icon.active {
  color: #111111; /* Görünür ikon rengi */
}
.filter-icon {
  color: #838383; /* Varsayılan ikon rengi */
}

/* Filter container styling */
.filter-container {
  display: flex;
  align-items: center;
}

#searchInput {
  padding: 16px;
  font-size: 16px;
  border: 1px solid #ccc;
}

.filter-search {
  display: flex;
  justify-content: right;
  margin-bottom: 10px;
  margin-right: 10px;
}

.payment-table {
  margin: 20px 10px 50px 10px;
}

.payment-table table {
  width: 100%;
  border-collapse: collapse;
}

.payment-table th,
.payment-table td {
  border: 1px solid #cfcfcf;
  padding: 10px;
  text-align: left;
}

.payment-table th {
  background-color: #444444;
  color: #fff;
}

.payment-table .paid {
  background-color: #41833b;
  color: #fff;
}

.payment-table .cancelled {
  background-color: #832a2a;
  color: #fff;
}

.payment-table .pending {
  background-color: #3b6083;
  color: #fff;
}

.payment-table .flash-background {
  animation: flash 1s infinite;
  color: #fff;
}

.payment-table table a {
  color: #1f69be;
}

.payment-table table tr:nth-child(odd) {
  background-color: #f9f9f9; /* Açık gri arka plan rengi */
}

.payment-table table tr:nth-child(even) {
  background-color: #f3f3f3; /* Beyaz arka plan rengi */
}

#toggleViewIcon,
#toggleCalendarIcon {
  margin-right: 10px;
  color: #5f5f5f;
}

#toggleCalendarIcon {
  font-size: 28px;
}

#calendar {
  margin: 10px 10px 50px 10px;
}

:root {
  --fc-border-color: #cfcfcf;
  --fc-daygrid-event-dot-width: 8px;
  --fc-event-text-color: #1d1d1d;
  --fc-event-bg-color: #d6d6d6;
  --fc-event-border-color: #1f69be; /* Yeşil dot için */
}

/* Kırmızı dot rengi için */
@keyframes blink {
  0% {
    border-color: #a72828;
  }
  50% {
    border-color: #ffffff; /* Kısa süreliğine beyaz yap */
  }
  100% {
    border-color: #a72828;
  }
}

/* Kırmızı dot için animasyonu ekleyelim */
.red-bullet .fc-daygrid-event-dot {
  border-color: #a72828;
  animation: blink 1s infinite; /* Animasyonu sürekli döngüyle uygula */
}

.green-dot .fc-daygrid-event-dot {
  border-color: #196941;
}

.fc-event-title {
  white-space: normal;
  height: auto;
  overflow-wrap: break-word;
}

.fc-daygrid-event {
  margin-bottom: 5px;
}

.fc-daygrid-day {
  margin-bottom: 5px;
}

.fc-daygrid-day.has-event {
  background-color: #f7f7f7; /* İstediğiniz gri tonu */
}

.fc-daygrid-event-harness {
  margin-bottom: 5px;
  cursor: pointer;
}

.missed-appointment {
  color: red;
  font-weight: 400;
}

.pending-appointment,
.pending-reminder {
  color: rgb(29, 77, 150);
  font-weight: 400;
}

.done-appointment,
.done-reminder {
  color: #196941;
  font-weight: 400;
}

.cancelled-reminder {
  color: red;
  font-weight: 400;
}

@keyframes blink2 {
  0% {
    color: #a72828;
  }
  50% {
    color: #ffffff; /* Kısa süreliğine beyaz yap */
  }
  100% {
    color: #a72828;
  }
}

.missed-reminder {
  color: #a72828;
  animation: blink2 1s infinite; /* Animasyonu sürekli döngüyle uygula */
}

.fc-col-header {
  background-color: #444444;
  color: #fff;
  height: 30px;
  line-height: 30px;
}

/* Mobil cihazlar için stil */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .content {
    margin-left: 0;
    padding-top: 75px;
  }
  .header .header-right .menu-toggle {
    display: block;
  }
  .header .header-right span {
    display: none;
  }
  .header .header-left {
    margin-left: 0;
  }
  .settings-area {
    justify-content: space-between;
  }
  .header .header-right .logout-btn {
    display: none;
  }
  .signout {
    display: block;
  }
  .bread {
    margin: 0;
    width: 100%;
  }
  .header .header-right .fas:last-child {
    margin-right: 0;
  }
  .form-container {
    padding: 20px;
    width: 90%;
  }
  .user-card {
    width: 100%;
    padding: 15px;
  }
  .ayar-card {
    width: 100%;
    padding: 15px;
  }

  .payment-card-container,
  .payment-card-container-main,
  .payment-plan-card-container {
    width: 100%;
  }

  .filter-search {
    margin: 10px 0;
    justify-content: left;
  }

  #searchInput {
    width: 120px;
  }

  .dropdown-content {
    width: 310px;
  }
  #toggleViewIcon,
  #toggleCalendarIcon {
    display: none;
  }

  .bread-text {
    font-size: 12px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .payment-info,
  .payment-info-data,
  .iban-whatsapp {
    font-size: 13px;
  }

  .notification-content {
    width: 320px;
    right: -30px;
    font-size: 13px;
  }

  #calendar {
    height: 500px;
    max-width: 100%;
    font-size: 12px;
  }

  .fc-toolbar-chunk,
  .fc-toolbar h2.fc-toolbar-title {
    font-size: 0.9em;
  }

  .fc-button-group .fc-timeGridWeek-button {
    display: none !important;
  }

  .fc-event {
    display: flex;
    flex-direction: column;
  }

  .fc-event {
    white-space: normal;
    height: auto;
    overflow-wrap: break-word;
  }
}
