/* Reset and Base Styles */
@import url("https://fonts.googleapis.com/css?family=Montserrat");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background-color: #f3f4f6; /* Açık gri arka plan */
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

.container {
  justify-content: space-between;
  padding: 0 20px;
}

/* Sayfa geçiş efekti için */
body.page-transition {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Overlay için (opsiyonel, yükleme sırasında kullanılabilir) */
.overlay.active {
  display: block;
  opacity: 1;
}

    /* Header */
    .header {
      background-color: #fff;
      height: 80px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      padding: 1rem 0;
      position: fixed;
      width: 100%;
      top: 0;
      justify-content: space-between;
      z-index: 1000;
    }
    
    main {
      margin-top: 100px;
      height: calc(100vh - 80px);
      overflow-y: visible;
    }
    
    /* Container */
    .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 30px;
    }
    
    /* Logo */
    .logo-kontainer {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: inherit;
    }
    .logo {
      width: 40px;
      margin-right: 10px;
    }
    .logo-metin h1 {
      font-size: 20px;
    }
    .logo-metin p {
      font-size: 12px;
      color: gray;
    }
    
    /* Account Icon & Dropdown */
    .account-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px;
      height: 35px;
      border: 1px solid #8550d9;
      border-radius: 50%;
      cursor: pointer;
      transition: 0.2s;
    }
    .account-icon:hover {
      background: #0ebedd;
      border-color: #0ebedd;
      box-shadow: 0 4px 8px rgba(14, 190, 221, 0.5);
    }
    .account-icon i {
      color: #8550d9;
      font-size: 20px;
      transition: 0.2s;
    }
    .account-icon:hover i {
      color: #fff;
    }
    
    /* Hesap Dropdown Stili */
    .account-dropdown {
      position: absolute;
      top: 100%;
      right: 30px;
      background-color: white;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      width: 200px;
      display: none;
      z-index: 1001;
    }
    
    .account-dropdown ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    /* Dropdown içindeki linkleri düz stil yapmak için */
    .account-dropdown ul a {
      display: block;         /* tüm li’yi kapsasın */
      text-decoration: none;  /* alt çizgi kaldır */
      color: inherit;         /* li’lerin rengiyle aynı olsun */
    }
    
    /* Eğer hover’da bile renk değiştirmesin istersen: */
    .account-dropdown ul a:hover {
      color: inherit;
      background-color: #f0f0f0; /* veya istediğiniz hover arka planı */
    }
    
    .account-dropdown ul li {
      padding: 12px 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: #333;
    }
    
    .account-dropdown ul li:hover {
      background-color: #f0f0f0;
      color: #0ebedd;
    }

.sol-kutu {
  position: absolute;
  top: 80px;
  bottom: 0;
  left: 0;
  width: 17%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 999;
  animation: slideFadeIn 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Footer'ı en alta iter */
}

.sol-kutu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  flex-grow: 1; /* Menü tam alanı kaplasın */
}

.sol-footer {
  padding: 5px;
  text-align: center;
  border-top: 1px solid #eee;
}

.sol-footer p3 {
  font-size: 10px;
  color: #666;
  margin: 0;
}

.sol-kutu li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 5px 0 2px 0;
}

.footer-email {
  font-size: 13px;
  color: #0ebedd;
  word-break: break-word;
}

.sol-kutu ul li.aktif {
  background-color: #0ebedd1a;
  color: #0ebedd;
  font-weight: bold;
}

.sol-kutu li:hover {
  background-color: #0ebedd1a;
  transform: translateX(5px);
  color: #0ebedd;
}

.sol-kutu li i {
  font-size: 16px;
  color: #0ebedd;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icerik-blok {
  display: none;
}

.icerik-blok.aktif {
  display: block;
}

.icerik-blok h2 {
  font-size: 20px;
  margin-top: 10px;
  color: #333;
}

.bilgi-kutusu {
  background-color: #8550d91e;
  border-left: 4px solid #0ebedd;
  padding: 12px 16px;
  margin: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.klon-text {
  background-color: #fffff0;
  border-left: 4px solid #0ebedd;
  padding: 12px 16px;
  margin: 10px;
  border-radius: 6px;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

.form-alani {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 10px;
  width: 100%;
  max-width: 800px;
}

.form-alani label {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.form-alani input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  flex: 1;
  min-width: 150px;
}

.form-alani input:hover,
.form-alani input:focus {
  border-color: #0ebedd;
  box-shadow: 0 0 6px rgba(14, 190, 221, 0.4);
  outline: none;
  transition: 0.3s ease;
}

.form-alani .btn {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background-color: #0ebedd;
  color: white;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background-color: #087588;
  box-shadow: 0 4px 10px rgba(14, 190, 221, 0.5);
  transition: all 0.3s ease;
}

.btn i {
  margin-right: 5px;
}

@media (max-width: 600px) {
  .form-alani {
    flex-direction: column;
    align-items: stretch;
  }
  .form-alani input {
    width: 100%;
    max-width: none;
  }
  .form-alani .btn {
    width: 100%;
  }
}

/* Bildirim kutusu */
#bildirimlerim .sag-kutu {
  margin: 10px 0; /* Üstten ve alttan 10px margin */
}

#bildirimlerim .bildirim-kutu {
  max-width: 800px;
  margin: 10px auto;
  padding: 2rem;
  background: #ffffff !important; /* Beyaz arka plan, çakışmaları önlemek için !important */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Gölge efekti */
}

#bildirimlerim .bildirim-kutu h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

#bildirimlerim .bildirim-kutu p {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.bildirim-ayarlari {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.bildirim-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid #eee;
  border-radius: 25px;
  transition: background-color 1s ease;
}

.bildirim-item:hover {
  background-color: #0ebedd20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Toggle switch stili */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #0ebedd;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Kaydet butonu ve yükleme göstergesi */
.bildirim-kaydet {
  text-align: center;
  margin-top: 20px;
}

#kaydetBildirimler {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#kaydetBildirimler:hover {
  background: #0056b3;
}

#yuklemeGostergesi {
  margin-top: 10px;
  color: #666;
}

.profil-sayfa {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Üstten hizala */
  width: calc(100% - 20px);
  min-height: 96%; /* Yüksekliği %96 yap */
  margin: 10px;
  grid-template-columns: 1fr 1fr;
  overflow-y: auto; /* Taşmada kaydırma */
  -webkit-overflow-scrolling: touch; /* Chrome/Safari akıcı kaydırma */
  will-change: scroll-position;
  
}

.profil-kart {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  width: 100%;
  min-height: calc(100vh - 120px); /* Header (80px) + margin (20px) + ek boşluk */
  padding: 20px 20px 60px;
  box-sizing: border-box;
  overflow-y: auto; /* İçerik taşarsa kaydırma */
}

.profil-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.profil-gorsel-blok {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.profil-resim-container {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #8550d9;
}



.profil-resim-container:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(133, 80, 217, 0.5);
  border-color: #0ebedd;
  background-color: hsla(193, 100%, 38%, 0.1);
}

#profilIcon {
  font-size: 90px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #ccc;
  transition: opacity 0.3s ease;
}

.profil-resim-container:hover #profilIcon {
  opacity: 0; /* Hover'da varsayılan ikon gizlenir */
}

.profil-resim-container.has-image #profilIcon {
  display: none; /* Resim yüklendiğinde ikon gizlenir */
}

#profilResim {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #8550d9;
  display: block;
}

.profil-resim-container:hover .add-icon {
  opacity: 1;
  transform: scale(1);
}

.add-icon {
  position: absolute;
  background-color: #8550d9;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.7);
}

.add-icon i {
  font-size: 14px;
}

.profil-bilgi h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.profil-bilgi p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

.btn-add {
  background: #0ebedd;
  color: #ffffff;
  width: 150px;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}


.btn-add:hover {
  background: #077386;
}

.profil-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #c49fff;
  border-radius: 10px;
  background: #f9f9f9;
  box-sizing: border-box;
  transition: all 0.3s ease;
  outline: none;
}

/* Hover ve focus mor renk efekti */
.form-group input:focus,
.form-group input:hover,
.form-group select:focus,
.form-group select:hover {
  border-color: #8550d9;
  box-shadow: 0 0 6px rgba(133, 80, 217, 0.5);
  background-color: #fff;
}

.email-group {
  margin-top: 20px;
}

.email-kutu {
  background: #f3f7ff;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-group {
    width: 100%;
  }

  .profil-kart {
    margin: 5px;
    padding: 15px;
  }

  .profil-header {
    margin-bottom: 30px;
  }

  .profil-resim-container {
    width: 70px;
    height: 70px;
  }

  #profilIcon {
    font-size: 70px;
  }

  #profilResim {
    width: 70px;
    height: 70px;
  }

  .add-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

.sag-kutu {
  position: absolute;
  top: 80px;
  bottom: 0;
  left: 17%;
  width: 83%; /* 10px sağ-sol margin telafi */
  box-sizing: border-box;
  overflow-y: auto; /* Taşmaları engeller */
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: 35fr 65fr;
  grid-template-columns: 40fr 30fr 30fr;
  gap: 10px;
  width: 100%;
  height: 100%;
  height: calc(100vh - 80px); /* Header yüksekliğini çıkar */
  padding: 10px;
}

/* Kutular için stiller */
.kullanici-kutu {
  background-color: #ffffff;
  grid-column: 1 / 2;
  grid-row: 1;
  margin-top: 0px;
  border-radius: 20px;
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  padding: 20px;
  display: flex;
}

/* Kullanıcı Bilgisi Kartı */
.kullanici-karti {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
  justify-content: space-between;
}

.kullanici-bilgi {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  background-color: #9b59b6;
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kullanici-detay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.kullanici-detay p {
  margin: 5px 0 0;
  font-size: 16px;
}

.premium {
  color: #9b59b6;
  font-weight: bold;
}

/* Planı Yönet butonu */
.plan-btn {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 20px;
  background: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
  color: rgb(0, 0, 0);
}

.plan-btn:hover {
  background: #f2f2f2;
}

.meeting-kutu {
  background-color: #ffffff;
  grid-column: 2 / 3;
  grid-row: 1;
  border-radius: 20px;
  justify-content: center; /* Yatayda ortalamak için */
  align-items: center; /* Dikeyde de ortalamak için */
  display: flex;
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  padding: 10px;
}

.meeting-kutu a {
  text-decoration: none; /* Alt çizgi yok */
  color: inherit; /* Ebeveynin rengini alır */
}

.butonlar {
  display: flex;
  justify-content: center; /* Yatayda ortalamak için */
  align-items: center; /* Dikeyde de ortalamak için */
  gap: 5px; /* Butonlar arası boşluk */
}

.buton {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 90px;
  width: 90px;
  cursor: pointer;
}

.buton:hover {
  background-color: #e8e8ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.buton img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.buton span {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.etkinlik-kutusu {
  background: #fff;
  grid-column: 1 / 2;
  grid-row: 2;
  border-radius: 20px;
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  padding: 20px;
}

.etkinlikler-baslik {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.etkinlik {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.etkinlik:first-of-type {
  border-top: none;
}

.etkinlik-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-aa img {
  width: 25px;
  height: 25px;
}

.etkinlik-detay strong {
  font-size: 15px;
  color: #222;
}

.etkinlik-detay small {
  font-size: 13px;
  color: #777;
}

.mobilapp-kutu {
  background: #fff;
  grid-column: 2 / 3;
  grid-row: 2;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;    /* Üstteki içerik ile buton arasında esnek boşluk */
  align-items: center;               /* Yatay ortala */
  text-align: center;
  padding: 1rem 1rem 10px;           /* Alt padding: 10px */
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  box-sizing: border-box;
}

.mobil-icon {
  margin-bottom: 1rem;
}

.mobil-icon img {
  width: 70px;
  height: 70px;
  margin-top: 10px; /* Üstteki boşluk */
  object-fit: contain;
}

.mobil-baslik {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.mobil-aciklama {
  font-size: 12px;
  color: #555;
  margin: 0 0 1rem;
}

.mobil-aciklama2 {
  font-size: 10px;
  color: #555;
  margin-top:10px; /* butonun hemen üzerinde */
}

.kaydol-btn {
  align-self: center;
  padding: 10px 30px;
  background-color: #9b59b6;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 0; /* üstteki boşluğu sıfırladık, mobil-aciklama2'nin margin'i yeterli */
}

.kaydol-btn:hover {
  background-color: #843d9e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.planlar {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  background-color: #fff;
  border-radius: 20px; /* 10x hatası düzeltildi, çelişki giderildi */
  padding: 1rem; /* 20px yerine relatif birim */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 30px yerine relatif birim */
  align-items: center; /* Yatay ortalama */
  justify-content: center; /* Dikey ortalama */
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
  box-sizing: border-box;
  min-height: 100%; /* Grid hücresini doldurur */
  overflow: auto; /* Taşma durumunda kaydırma */
}

/* Mevcut diğer stiller (önceki artifact’tan) */
.plan-kutu {
  background-color: #eaf4f6;
  padding: 1rem;
  border-radius: 15px;
  width: 100%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-out;
}

.plan-kutu:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Mevcut hover gölgesi */
  transform: translateY(-1px); /* Hafif yükselme efekti */
}

.kullanilan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 10px;
  height: 40px;
}

.dakika-box {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 45px;
  width: 90px;
  padding: 8px;
}

.kullanilan .dakika-box {
  background-color: #00c0e4;
  color: white;
  font-weight: bold;
  padding: 8px 15px;
  align-items: center;
  font-size: 16px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 8px;
  box-shadow: 0 4px 12px hsla(189, 88%, 46%, 0.3);
}

.kullanilan .etiket {
  background-color: #5b6bee;
  color: white;
  padding: 8px 10px;
  font-size: 14px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.kalan-baslik {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
}

.kalan-box {
  background-color: #ff944d;
  color: white;
  padding: 8px;
  margin-right: 5px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.divider {
  border-top: 2px solid #444;
  width: 80%;
  margin: 15px auto 8px auto;
}

.mt-4 {
  margin-top: 10px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .sag-kutu {
    left: 0;
    width: 100%;
    top: 60px;
  }

  .me-page {
    margin: 5px;
    min-height: calc(100% - 10px);
  }

  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    height: auto;
  }

  .kullanici-kutu,
  .meeting-kutu,
  .etkinlik-kutusu,
  .mobilapp-kutu,
  .planlar {
    grid-column: 1 / 2;
    grid-row: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .planlar {
    padding: 10px;
    gap: 8px;
  }

  .plan-kutu {
    max-width: 100%;
    padding: 12px;
  }
}

.grid-container2 {
  display: grid;
  grid-template-rows: 100fr;
  grid-template-columns: 100fr;
  gap: 10px;
  width: 100%;
  max-height: 100%;
  height: 100%;
  padding: 10px;
}
.kullanici-kutu2 {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px hsla(189,88%,46%,0.8);
  overflow: hidden;
}

/* Sol kısmı 300px sabit boy yap, içeriği ortala */
.chat-left {
  flex: 0 0 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.chat-left img {
  max-width: 80%;
  max-height: 80%;
}

/* Sağ kısım geri kalan alanı kaplasın */
.chat-right {
  flex: 1;
  background: rgba(51, 51, 51, 0.2); /* isteğe göre arka plan */
  /* ileride chat-stil ekle */
}



/* Sağ Chat Bölümü */
.chat-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header-fixed {
  background: #0ebedd;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0; /* Başlık küçülmez, sabit kalır */
}

.chat-header-fixed i {
  font-size: 20px;
}

.chat-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ebebeb; /* Chat mesajları ile aynı arka plan */
  height: 100%;
  overflow: hidden; /* Taşmayı engelle */
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto; /* Sadece mesaj alanı kaydırılabilir */
  background: #ebebeb;
  max-height: calc(100% - 80px); /* Başlık ve input alanını çıkar */
}

.chat-message {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 20px;
  max-width: 60%;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.bot {
  background: rgba(255, 255, 255, 0.7);
  color: #333;
  margin-right: auto;
  border-bottom-left-radius: 0;
}

.chat-message.user {
  background: hsla(189, 88%, 46%, 0.7);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 0;
}

.header-icon {
  width: auto; /* Orijinal genişlik */
  height: 30px; /* Daha büyük bir yükseklik */
  vertical-align: middle;
  margin-right: 8px;
}

/* Chat Input Alanı */
.chat-input-area {
  display: flex;
  padding: 16px 20px; /* Mesajlarla hizalı padding */
  gap: 12px;
  align-items: center;
  flex-shrink: 0; /* Input alanı küçülmez, sabit kalır */
  background: transparent; /* Arka plan yok, mesajlarla bütünleşik */
}

.chat-input-area input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fff; /* Input için hafif opak beyaz */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Gölge efekti */
  transition: box-shadow 0.2s;
}

.chat-input-area input:focus {
  border-color: #0ebedd;
  box-shadow: 0 2px 12px rgba(14, 190, 221, 0.3); /* Odaklandığında daha belirgin gölge */
}

.chat-input-area button {
  padding: 12px;
  background: #0ebedd;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Gölge efekti */
}

.chat-input-area button:hover {
  background: #00a1c7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Hover'da daha belirgin gölge */
}

.chat-input-area button i {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .kullanici-kutu2 {
    flex-direction: column;
    height: auto;
  }

  .chat-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 20px;
  }

  #lottie-player {
    width: 200px;
    height: 200px;
  }

  .chat-wrapper {
    height: 70vh;
  }

  .chat-messages {
    padding: 12px;
  }

  .chat-input-area {
    padding: 12px 12px;
  }
}






/* — Kayıtlı Seslerim Bölümü — */
.recorded-audios-container {
  max-width: 800px;
  margin: 10px auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.recorded-audios-container .bilgi-kutusu {
  background: #f0f8ff;
  border-left: 4px solid #0ebedd;
  padding: 1rem;
  border-radius: 6px;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.recorded-audios-container h2 {
  text-align: center;
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 1rem;
}
.recorded-audios-container h3 {
  text-align: center;
  font-size: 1rem;
  color: #6c6c6c;
  margin-bottom: 1rem;
}

.story-text {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  max-height: 300px;
  overflow-y: auto;
}

.form-alani {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 50px;
}

.form-alani input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  min-width: 200px;
}

.form-alani button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.record-btn {
  background: #784ac2;
  color: white;
  transition: transform .2s ease, box-shadow .2s ease;
}

.record-btn.recording {
  background: #0EBEDD;
}

.record-btn:hover {
  background: #9554ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(53, 57, 58, 0.5);
}

.play-pause-btn {
  background: #28a745;
  color: white;
  transition: transform .2s ease, box-shadow .2s ease;
}

.play-pause-btn:hover {
  background: #28da52;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(53, 57, 58, 0.5);
}

.delete-btn {
  background: #b60c1d;
  color: white;
  transition: transform .2s ease, box-shadow .2s ease;
}

.delete-btn:hover {
  background: #e61429;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(53, 57, 58, 0.5);
}

.clone-btn {
  background: #0EBEDD;
  color: white;
  transition: transform .2s ease, box-shadow .2s ease;
}

.clone-btn:hover {
  background: #38e1ff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(53, 57, 58, 0.5);
}

.clone-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.timer {
  font-size: 18px;
  margin: 10px 0;
  display: none;
}

.seek-bar {
  --webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #eee;
  display: block !important;
  opacity: 1 !important;
  outline: none;
  transition: background 0.2s;
}

.seek-bar::-webkit-slider-thumb:hover {
  background: #087588;
}

.playback-controls {
  display: none;            /* başta gizli */
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}



.progress {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  z-index: 1000;
  display: none;
}

/* Plan için ek stiller */
.plan-container {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.premium[data-plan="Basic"] {
  color: #333333; /* Koyu gri */
}

.premium[data-plan="Standart"] {
  color: #0ebedd; /* Turkuaz */
}

.premium[data-plan="Premium"] {
  color: #28a745; /* Yeşil */
}

.crown-icon {
  display: none;
  color: #28a745; /* Yeşil, Premium ile uyumlu */
  font-size: 14px;
}

.premium[data-plan="Premium"] + .crown-icon {
  display: inline-block; /* Sadece Premium için rozet görünür */
}

/* Toast Stilleri */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.toast {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease-out, slideOut 0.5s ease-out 2.5s forwards;
  max-width: 300px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.success {
  background-color: #28a745; /* Yeşil */
}

.toast.error {
  background-color: #dc3545; /* Kırmızı */
}

.toast.info {
  background-color: #007bff; /* Mavi */
}

.toast i {
  margin-right: 10px;
  font-size: 18px;
}

/* Daha Fazla Butonu Stili */
.daha-fazla-btn {
  display: block;
  margin: 15px auto;
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.daha-fazla-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.daha-fazla-btn:active {
  transform: translateY(0);
}

/* Etkinlik Menü Stilleri */
.etkinlik {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.etkinlik-menu {
  margin-left: auto;
}

.menu-btn {
  background-color: transparent;
  border: 1px solid #ccc; /* Çember kenarlığı */
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  padding: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-btn:hover {
  background-color: #e0e0e0;
  border-color: #bbb;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  min-width: 120px;
}

.menu-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

.menu-dropdown li {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
}

.menu-dropdown li.edit-meeting {
  color: #333; /* Düzenle için gri-siyah */
}

.menu-dropdown li.delete-meeting {
  color: #dc3545; /* Sil için kırmızı */
  font-weight: 500;
}

.menu-dropdown li:hover {
  background-color: #f0f0f0;
}

.menu-dropdown li.delete-meeting:hover {
  background-color: #ffe5e7; /* Kırmızı hover efekti */
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}







/* Çerez Banner Stilleri */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: 97%;
  background: rgba(0, 0, 0, 1);
  color: #fff;
  padding: 1rem;
  border-radius: 25px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out forwards;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
  color: #fff;
  min-width: 60px;
}

.cookie-banner a {
  color: #00b7e0;
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-banner a:hover {
  color: #00e0ff;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-banner button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

#acceptCookies {
  background: #00b7e0;
  color: #fff;
}

#acceptCookies:hover {
  background: #0097c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#rejectCookies {
  background: #6c757d;
  color: #fff;
}

#rejectCookies:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#customizeCookies {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

#customizeCookies:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Çerez Ayarları Modal */
.cookie-modal {
  position: fixed;
  left: 60vh;
  bottom: 20vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease-out;
}

.cookie-modal h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #333;
}

.cookie-option {
  margin-bottom: 1.5rem;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.cookie-option input {
  width: 1.25rem;
  height: 1.25rem;
}

.cookie-option p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #666;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.cookie-modal-buttons button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

#saveCookies {
  background: #00b7e0;
  color: #fff;
  border: none;
}

#saveCookies:hover {
  background: #0097c0;
  transform: translateY(-2px);
}

#cancelCookies {
  background: transparent;
  border: 1px solid #666;
  color: #666;
}

#cancelCookies:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Plan kartları için fade-in animasyonu */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-kutu {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.plan-kutu.visible {
  display: block !important;
  animation: fadeIn 0.5s ease forwards;
}

.recorded-voices-list {
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.voice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.voice-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.delete-voice-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s;
}

.delete-voice-btn:hover {
  background-color: #c0392b;
}

.delete-voice-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.delete-voice-btn .spinner {
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

/* Overlay ve Progress Bar */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 3, 0.7);
  z-index: 4000;
  justify-content: center;
  align-items: center;
}
#overlay.active {
  display: flex;
}
.progress-container {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.progress-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.progress-bar {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0ebedd, #8550D9);
  border-radius: 5px;
  animation: progress 2.5s infinite ease-in-out;
}
.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: glow 2.5s infinite ease-in-out;
}
.progress-spinner {
  font-size: 24px;
  color: #0ebedd;
  animation: spin 1s linear infinite;
}
@keyframes progress {
  0% { width: 0; }
  50% { width: 90%; }
  100% { width: 0; }
}
@keyframes glow {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}