@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
* {
  box-sizing: border-box;
}

/* Proje daha fazla menüsü için stiller */
.project-more-menu {
  position: absolute;
  right: 0;
  top: 30px;
  background-color: var(--more-list-bg);
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--more-list-shadow);
  padding: 10px 0;
  width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Liste görünümünde menü pozisyonunu düzelt */
.project-boxes.jsListView .project-more-menu {
  top: 0;
  right: 0;
}

.project-more-menu.active {
  opacity: 1;
  visibility: visible;
}

.project-more-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-more-menu li {
  padding: 8px 16px;
  transition: background-color 0.3s ease;
}

.project-more-menu li:hover {
  background-color: var(--more-list-bg-hover);
}

.project-more-menu a {
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
  display: block;
}

/* Galeri Düzenleme */
.gallery-editor {
  margin-top: 24px;
}

.gallery-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.gallery-item {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--message-box-border);
  cursor: grab;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item.dragging {
  opacity: 0.7;
  cursor: grabbing;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .gallery-item-order {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.gallery-item-actions {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 0 8px;
  display: flex;
}

.gallery-item-btn {
  padding: 4px 8px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.add-gallery-item {
  width: 150px;
  height: 150px;
  border: 2px dashed var(--message-box-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--main-color);
  font-size: 24px;
  transition: all 0.2s ease;
}

.add-gallery-item:hover {
  border-color: #4f3ff0;
  color: #4f3ff0;
}

.loading-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
  width: 150px;
  height: 150px;
  border-radius: 8px;
}

.loading-text {
  font-size: 14px;
  color: #6c757d;
  text-align: center;
}

:root {
  --app-container: #f3f6fd;
  --main-color: #1f1c2e;
  --secondary-color: #4A4A4A;
  --link-color: #1f1c2e;
  --link-color-hover: #c3cff4;
  --link-color-active: #fff;
  --link-color-active-bg: #1f1c2e;
  --projects-section: #fff;
  --message-box-hover: #fafcff;
  --message-box-border: #e9ebf0;
  --more-list-bg: #fff;
  --more-list-bg-hover: #f6fbff;
  --more-list-shadow: rgba(209, 209, 209, 0.4);
  --button-bg: #1f1c24;
  --search-area-bg: #fff;
  --star: #1ff1c2e;
  --message-btn: #fff;
}

.dark-mode {
  --app-container: #1f1d2b;
  --main-color: #fff;
  --secondary-color: #eee;
  --link-color: #fff;
  --link-color-hover: #c3cff4;
  --link-color-active: #fff;
  --link-color-active-bg: #2869ff;
  --projects-section: #2b2e3c;
  --message-box-hover: #2d3246;
  --message-box-border: #3f4156;
  --more-list-bg: #2b2e3c;
  --more-list-bg-hover: #3f4156;
  --more-list-shadow: rgba(0, 0, 0, 0.4);
  --button-bg: #2869ff;
  --search-area-bg: #2b2e3c;
  --star: #fff;
  --message-btn: #2b2e3c;
}

/* Yükleme ve hata mesajları için stiller */
.loading, .error, .no-projects {
  padding: 20px;
  text-align: center;
  color: var(--main-color);
  font-size: 16px;
  width: 100%;
}

.error {
  color: #e74c3c;
}

/* Görüntüle butonu için stiller */
.view-project {
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.6);
}



html, body {
  width: 100%;
  height: 100vh;
  margin: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: var(--app-container);
}

button, a {
  cursor: pointer;
}

.app-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--app-container);
  transition: 0.2s;
  max-width: 1800px;
}
.app-container button, .app-container input, .app-container optgroup, .app-container select, .app-container textarea {
  font-family: "DM Sans", sans-serif;
}
.app-content {
  display: flex;
  height: 100%;
  overflow: hidden;
  padding: 16px 24px 24px 0;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  position: relative;
}
.app-header-left, .app-header-right {
  display: flex;
  align-items: center;
}
.app-header-left {
  flex-grow: 1;
}
.app-header-right button {
  margin-left: 10px;
}
.app-icon {
  width: 26px;
  height: 2px;
  border-radius: 4px;
  background-color: var(--main-color);
  position: relative;
}
.app-icon:before, .app-icon:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 4px;
  background-color: var(--main-color);
  left: 50%;
  transform: translatex(-50%);
}
.app-icon:before {
  top: -6px;
}
.app-icon:after {
  bottom: -6px;
}
.app-name {
  color: var(--main-color);
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  margin: 0 32px;
}

.mode-switch {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-wrapper {
  border-radius: 20px;
  background-color: var(--search-area-bg);
  padding-right: 12px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 480px;
  color: var(--light-font);
  box-shadow: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);
  overflow: hidden;
}


.search-input {
  border: none;
  flex: 1;
  outline: none;
  height: 100%;
  padding: 0 20px;
  font-size: 16px;
  background-color: var(--search-area-bg);
  color: var(--main-color);
}
.search-input:placeholder {
  color: var(--main-color);
  opacity: 0.6;
}

.add-btn {
  color: #fff;
  background-color: var(--button-bg);
  padding: 0;
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark_md {
  color: var(--main-color);
  padding: 0;
  border: 0;
  background-color: transparent;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.dark_md:hover {
  transform: rotate(30deg);
}

.dark-mode .dark_md svg {
  fill: #ffce45;
  stroke: #ffce45;
}

.notification-btn {
  color: var(--main-color);
  padding: 0;
  border: 0;
  background-color: transparent;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-btn {
  padding: 0;
  border: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-left: 2px solid #ddd;
}
.profile-btn img {
  width: 32px;
  height: 32px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  margin-right: 4px;
}
.profile-btn span {
  color: var(--main-color);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.page-content {
  flex: 1;
  width: 100%;
}

.app-sidebar {
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.app-sidebar-link {
  color: var(--main-color);
  color: var(--link-color);
  margin: 16px 0;
  transition: 0.2s;
  border-radius: 50%;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-sidebar-link:hover {
  background-color: var(--link-color-hover);
  color: var(--link-color-active);
}
.app-sidebar-link.active {
  background-color: var(--link-color-active-bg);
  color: var(--link-color-active);
}

.projects-section {
  flex: 2;
  background-color: var(--projects-section);
  border-radius: 32px;
  padding: 32px 32px 0 32px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.projects-section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
}
.projects-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  color: var(--main-color);
}
.projects-section-header p {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  opacity: 0.9;
  margin: 0;
  color: var(--main-color);
}
.projects-section-header .time {
  font-size: 20px;
}

.projects-status {
  display: flex;
}

.item-status {
  display: flex;
  flex-direction: column;
  margin-right: 16px;
}
.item-status:not(:last-child) .status-type:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translatey(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--secondary-color);
}

.status-number {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--main-color);
}

.status-type {
  position: relative;
  padding-right: 24px;
  color: var(--secondary-color);
}

.view-actions {
  display: flex;
  align-items: center;
}

.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  border-radius: 4px;
  background-color: transparent;
  border: none;
  color: var(--main-color);
  margin-left: 8px;
  transition: 0.2s;
}
.view-btn.active {
  background-color: var(--link-color-active-bg);
  color: var(--link-color-active);
}
.view-btn:not(.active):hover {
  background-color: var(--link-color-hover);
  color: var(--link-color-active);
}

.messages-section {
  flex-shrink: 0;
  padding-bottom: 32px;
  background-color: var(--projects-section);
  margin-left: 24px;
  flex: 1;
  width: 100%;
  border-radius: 30px;
  position: relative;
  overflow: auto;
  transition: all 300ms cubic-bezier(0.19, 1, 0.56, 1);
}
.messages-section .messages-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  border: none;
  background-color: transparent;
  color: var(--main-color);
  display: none;
}
.messages-section.show {
  transform: translateX(0);
  opacity: 1;
  margin-left: 0;
}
.messages-section .projects-section-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 32px 24px 0 24px;
  background-color: var(--projects-section);
}

.message-box {
  border-top: 1px solid var(--message-box-border);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.message-box:hover {
  background-color: var(--message-box-hover);
  border-top-color: var(--link-color-hover);
}
.message-box:hover + .message-box {
  border-top-color: var(--link-color-hover);
}
.message-box img {
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 40px;
  height: 40px;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.message-header .name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--main-color);
  margin: 0;
}

.message-content {
  padding-left: 16px;
  width: 100%;
}

.star-checkbox input {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}
.star-checkbox label {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.star-checkbox label svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-color);
  transition: 0.2s;
}
.star-checkbox label:hover svg {
  color: var(--star);
  fill: var(--star);
}
.star-checkbox input:checked + label svg {
  color: var(--star);
  fill: var(--star);
}

.message-line {
  font-size: 14px;
  line-height: 20px;
  margin: 8px 0;
  color: var(--secondary-color);
  opacity: 0.7;
}
.message-line.time {
  text-align: right;
  margin-bottom: 0;
}

.project-boxes {
  margin: 0 -8px;
}
.project-boxes.jsGridView {
  display: flex;
  flex-wrap: wrap;
}
.project-boxes.jsGridView .project-box-wrapper {
  width: 33.3%;
}
.project-boxes.jsListView .project-box {
  display: flex;
  border-radius: 10px;
  position: relative;
}
.project-boxes.jsListView .project-box > * {
  margin-right: 24px;
}
.project-boxes.jsListView .more-wrapper {
  position: absolute;
  right: 16px;
  top: 16px;
}
.project-boxes.jsListView .project-box-content-header {
  order: 1;
  max-width: 120px;
}
.project-boxes.jsListView .project-box-header {
  order: 2;
}
.project-boxes.jsListView .project-box-footer {
  order: 3;
  padding-top: 0;
  flex-direction: column;
  justify-content: flex-start;
}
.project-boxes.jsListView .project-box-footer:after {
  display: none;
}
.project-boxes.jsListView .participants {
  margin-bottom: 8px;
}
.project-boxes.jsListView .project-box-content-header p {
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.project-boxes.jsListView .project-box-header > span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 12px;
}
.project-boxes.jsListView .box-progress-wrapper {
  order: 3;
  flex: 1;
}

.project-box {
  --main-color-card: #dbf6fd;
  border-radius: 30px;
  padding: 16px;
  background-color: var(--main-color-card);
}
.project-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--main-color);
}
.project-box-header span {
  color: #4A4A4A;
  opacity: 0.7;
  font-size: 14px;
  line-height: 16px;
}
.project-box-content-header {
  text-align: center;
  margin-bottom: 16px;
}
.project-box-content-header p {
  margin: 0;
}
.project-box-wrapper {
  padding: 8px;
  transition: 0.2s;
}

.project-btn-more {
  padding: 0;
  height: 14px;
  width: 24px;
  height: 24px;
  position: relative;
  background-color: transparent;
  border: none;
  flex-shrink: 0;
  /*&:after, &:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--main-color);
    opacity: .8;
    left: 50%;
    transform: translatex(-50%);
  }
  
  &:before {
    top: 0;
  }
  
  &:after {
    bottom: 0;
  }*/
}

.more-wrapper {
  position: relative;
}

.box-content-header {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  opacity: 0.7;
}

.box-content-subheader {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.7;
}

.box-progress {
  display: block;
  height: 4px;
  border-radius: 6px;
}
.box-progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  margin: 8px 0;
}
.box-progress-header {
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  margin: 0;
}
.box-progress-percentage {
  text-align: right;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}

.project-box-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  position: relative;
}
.project-box-footer:after {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  width: calc(100% + 32px);
  top: 0;
  left: -16px;
  height: 1px;
}

.participants {
  display: flex;
  align-items: center;
}
.participants img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  -o-object-fit: cover;
     object-fit: cover;
}
.participants img:not(:first-child) {
  margin-left: -8px;
}

.add-participant {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  margin-left: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.days-left {
  background-color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  border-radius: 20px;
  flex-shrink: 0;
  padding: 6px 16px;
  font-weight: 700;
}



.messages-btn {
  border-radius: 4px 0 0 4px;
  position: absolute;
  right: 0;
  top: 58px;
  background-color: var(--message-btn);
  border: none;
  color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: none;
}

@media screen and (max-width: 980px) {
  .project-boxes.jsGridView .project-box-wrapper {
    width: 50%;
  }

  .status-number, .status-type {
    font-size: 14px;
  }

  .status-type:after {
    width: 4px;
    height: 4px;
  }

  .item-status {
    margin-right: 0;
  }
}
@media screen and (max-width: 880px) {
  .messages-section {
    transform: translateX(100%);
    position: absolute;
    opacity: 0;
    top: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
  }
  .messages-section .messages-close {
    display: block;
  }

  .messages-btn {
    display: flex;
  }
}
/* Tablet görünümü için düzenlemeler */
@media screen and (max-width: 768px) and (min-width: 521px) {
  /* Genel tablet düzenlemeleri */
  body {
    font-size: 15px;
  }
  
  /* Header düzenlemeleri */
  .app-header {
    padding: 16px 12px;
  }
  
  .search-wrapper {
    max-width: 180px;
  }
  
  /* Butonlar ve ikonlar */
  .add-btn {
    width: 36px;
    height: 36px;
  }
  
  .add-btn.btn-primary svg {
    width: 18px;
    height: 18px;
  }
  
  .app-header-right button {
    margin-left: 8px;
  }
  
  .profile-btn img {
    width: 32px;
    height: 32px;
  }
  
  .profile-btn span {
    display: none;
  }
  
  .mode-switch {
    width: 32px;
    height: 32px;
  }
  
  .mode-switch svg {
    width: 18px;
    height: 18px;
  }
  
  /* Sidebar tablet düzenlemeleri - mobil görünüm ile aynı */
  .app-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    z-index: 100;
    background-color: var(--projects-section);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .app-sidebar-link {
    padding: 8px;
    margin: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .app-sidebar-link span {
    display: none;
  }
  
  .app-sidebar-link svg {
    width: 20px;
    height: 20px;
  }
  
  /* İçerik alanı düzenlemeleri */
  .app-content {
    margin-left: 0;
    padding: 16px 12px 70px 12px; /* Alt kısımda sidebar için boşluk */
  }
  
  .projects-section {
    padding: 20px 16px 0 16px;
  }
  
  .app-icon {
    display: none;
  }
  
  /* Mesajlar bölümü */
  .messages-section {
    transform: translateX(100%);
    position: absolute;
    opacity: 0;
    top: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
  }
  
  .messages-section .messages-close {
    display: block;
  }
  
  .messages-btn {
    display: flex;
  }
  
  .msg-btn {
    display: none;
  }
  
  /* Proje kutuları */
  .project-boxes.jsGridView .project-box-wrapper {
    width: 50%;
  }
  
  /* Dokunmatik kullanım için daha büyük tıklama alanları */
  button, .app-sidebar-link {
    min-height: 36px;
    min-width: 36px;
  }
}

/* Küçük tablet ve büyük telefon görünümü */
@media screen and (max-width: 720px) {
  .app-name {
    font-size: 14px;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
  }
  
  .profile-btn span {
    font-size: 14px;
    white-space: nowrap;
    display: none;
  }

  .add-btn, .notification-btn, .mode-switch, .dark_md, .messages-btn {
    width: 36px;
    height: 36px;
    margin-left: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .add-btn svg, .notification-btn svg, .mode-switch svg {
    width: 16px;
    height: 16px;
  }

  .app-header-right button {
    margin-left: 4px;
  }
}
/* Mobil menü toggle butonu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--main-color);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

/* Tablet için düzenlemeler */
@media screen and (max-width: 768px) {
  /* Tablet görünümü için özel sınıf */
  .app-header.tablet-view {
    padding: 12px 16px;
    height: auto;
  }
  
  .app-container {
    max-width: 100%;
  }
  
  .app-content {
    padding: 0;
  }
  
  .search-wrapper {
    max-width: 280px;
    transition: max-width 0.3s ease;
    flex-shrink: 1;
    min-width: 180px;
  }
  
  /* Tablet arama kutusu için özel sınıf */
  .search-wrapper.tablet-search {
    max-width: 280px;
  }
  
  .search-input {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .project-boxes.jsGridView .project-box-wrapper {
    width: 50%;
  }
  
  .app-header {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .app-header-left, .app-header-right {
    padding: 5px 0;
    flex-shrink: 0;
  }
  
  .app-header-left {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  
  .app-header-right {
    display: flex;
    align-items: center;
  }
  
  .app-sidebar {
    padding: 30px 10px;
  }
  
  .app-sidebar-link {
    margin: 12px 0;
  }
  
  /* Dokunmatik için butonları büyüt */
  .app-sidebar-link {
    width: 44px;
    height: 44px;
    transition: width 0.3s ease, height 0.3s ease;
  }
  
  .add-btn, .notification-btn, .dark_md, .profile-btn {
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: min-width 0.3s ease, min-height 0.3s ease;
  }
  
  .app-header-right button {
    margin-left: 8px;
  }
}

/* Mobil için düzenlemeler */
@media screen and (max-width: 520px) {
  /* Genel mobil düzenlemeler */
  body {
    font-size: 14px;
  }
  
  /* Header düzenlemeleri */
  .app-header {
    padding: 10px 8px;
    height: auto;
  }
  
  /* Projects section mobil scroll düzenlemesi */
  .projects-section {
    overflow: visible;
    height: auto;
    max-height: calc(100vh - 140px);
  }
  
  /* Project boxes scroll container */
  .project-boxes {
    overflow-y: auto;
    max-height: calc(100vh - 280px);
    padding-right: 8px;
  }
  
  /* Webkit scrollbar styling for mobile */
  .project-boxes::-webkit-scrollbar {
    width: 4px;
  }
  
  .project-boxes::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .project-boxes::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
  
  .project-boxes::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }
  
  /* Mobil görünüm için özel sınıf */
  .app-header.mobile-view {
    padding: 8px 6px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .app-header-left {
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .app-header-right {
    display: flex;
    align-items: center;
  }
  
  .app-header-right button {
    margin-left: 6px;
  }
  
  .search-wrapper {
    max-width: 200px;
    transition: max-width 0.3s ease;
  }
  
  /* Mobil arama kutusu için özel sınıf */
  .search-wrapper.mobile-search {
    max-width: 160px;
    margin-right: 0;
  }
  
  .search-input {
    max-width: 100%;
    font-size: 12px;
    padding: 8px 8px 8px 32px;
    transition: font-size 0.3s ease, padding 0.3s ease;
  }
  
  .search-wrapper svg {
    width: 14px;
    height: 14px;
    left: 10px;
    transition: width 0.3s ease, height 0.3s ease, left 0.3s ease;
  }
  
  /* Butonlar ve ikonlar */
  .profile-btn img {
    width: 28px;
    height: 28px;
    transition: width 0.3s ease, height 0.3s ease;
  }
  
  .app-name, .profile-btn span {
    display: none;
  }
  
  .add-btn, .notification-btn, .mode-switch, .dark_md, .messages-btn {
    width: 32px;
    height: 32px;
    margin-left: 5px;
    transition: width 0.3s ease, height 0.3s ease, margin-left 0.3s ease;
  }
  
  .add-btn svg, .notification-btn svg, .mode-switch svg, .dark_md svg, .messages-btn svg {
    width: 18px;
    height: 18px;
    transition: width 0.3s ease, height 0.3s ease;
  }
  
  /* Sidebar mobil düzenlemeleri */
  .app-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    z-index: 100;
    background-color: var(--projects-section);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .app-sidebar-link {
    padding: 8px;
    margin: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .app-sidebar-link span {
    display: none;
  }
  
  .app-sidebar-link svg {
    width: 20px;
    height: 20px;
  }
  
  /* İçerik alanı düzenlemeleri */
  .app-content {
    margin-left: 0;
    padding-bottom: 10px; /* Alt boşluk azaltıldı */
  }
  
  .projects-section {
    padding: 16px 12px 10px 12px; /* Alt padding azaltıldı */
  }
  
  .projects-section-header p {
    font-size: 14px;
  }
  
  .projects-section-header .time {
    font-size: 16px;
  }
  
  .status-type {
    padding-right: 4px;
  }
  
  .status-type:after {
    display: none;
  }
  
  /* Proje kutuları */
  .box-content-header {
    padding: 0 12px;
    font-size: 14px;
  }
  
  .box-content-subheader {
    padding: 0 12px;
    font-size: 12px;
  }
  
  .project-box-wrapper {
    padding: 6px;
  }
  
  .project-box {
    padding: 12px;
  }
  
  .project-box-content-header {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .project-box-text {
    font-size: 12px;
  }
  
  /* Dokunmatik kullanım için daha büyük tıklama alanları */
  .project-btn-more, .days, .project-box-footer button {
    min-height: 32px;
    min-width: 32px;
  }
}