* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 0px;
  }

  body.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #5f6d94, #2b2e4a);
  }

  .auth-container {
    width: min(420px, 100%);
  }

  .auth-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    color: #fff;
    backdrop-filter: blur(12px);
  }

  .auth-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
  }

  .auth-header i {
    font-size: 2.8rem;
  }

  .auth-header h1 {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .auth-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
  }

  .auth-alert {
    background: rgba(255, 87, 87, 0.15);
    border: 1px solid rgba(255, 87, 87, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 0.95rem;
  }

  .auth-alert ul {
    margin-left: 18px;
  }

  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .auth-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
  }

  .auth-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .auth-input-wrapper i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
  }

  .auth-input-wrapper input {
    border: none;
    background: transparent;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    outline: none;
  }

  .auth-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .auth-submit-btn {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(33, 147, 176, 0.4);
  }
  
  /* Header Alanı */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #8f8c8c;
    color: white;
    padding: 30px;
  }
  
  .header h1 {
    font-size: 2em;
  }

  .logo img {
    max-height: 56px;
    height: auto;
    width: auto;
  }
  
  .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 32px;
    width: 44px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px 0;
    gap: 6px;
  }

  .menu-icon:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }
  
  .menu-icon span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .toggle-clean-rooms-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    justify-content: center;
  }

  .toggle-clean-rooms-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }

  .toggle-clean-rooms-btn.active {
    background-color: #f44336;
  }

  .toggle-clean-rooms-btn img {
    width: 1.5em;
    height: 1.5em;
    filter: brightness(0) invert(1);
  }

  .room.hidden {
    display: none !important;
  }

  @media (max-width: 768px) {
    .toggle-clean-rooms-btn {
      bottom: 15px;
      left: 15px;
      padding: 14px 28px;
      font-size: 16px;
      min-width: 180px;
    }

    .toggle-clean-rooms-btn img {
      width: 1.3em;
      height: 1.3em;
    }

    .menu-modal-panel {
      padding: 32px 24px;
    }
  }

  @media (max-width: 520px) {
    .menu-modal {
      padding: 12px;
    }

    .menu-modal-panel {
      padding: 28px 20px;
    }

    .menu-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .menu-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .menu-modal.active {
    display: flex;
  }

  .menu-modal-panel {
    position: relative;
    width: min(900px, 100%);
    max-height: 90vh;
    background: rgba(18, 18, 18, 0.9);
    border-radius: 24px;
    padding: 48px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    overflow-y: auto;
  }

  .menu-modal-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .menu-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .menu-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9da7ff;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .menu-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 12px;
  }

  .menu-empty-state {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
  }

  .menu-modal .menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 18px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    margin: 0;
    width: 100%;
  }

  .menu-modal .menu-card-label {
    text-align: center;
    line-height: 1.3;
  }

  .menu-modal .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    background: linear-gradient(145deg, rgba(0, 132, 255, 0.4), rgba(0, 132, 255, 0.15));
  }

  .menu-modal .menu-card:focus-visible {
    outline: 2px solid #9da7ff;
    outline-offset: 4px;
  }

  .menu-modal .menu-card-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: #ffffff;
  }

  .menu-modal .menu-card-accent {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd86b;
  }

  .close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }
  
  .add-room-btn,
  .add-new-person-btn,
  .all-rooms-btn,
  .logout-btn,
  .rooms-btn,
  .all-person-btn,
  .all-guest-btn,
  .tasks-btn,
  .defect-table-btn,
  .receptionist-table-btn,
  .supervisor-table-btn,
  .cleaner-table-btn,
  .settings-table-btn,
  .monitor-btn,
  .waste-management-btn,
  .profile-btn,
  .extra-works-btn,
  .pest-control-btn,
  .outdoor-cleaning-btn,
  .confirm-cleaning-btn,
  .confirm-cleaning-btn,
  .roles-btn,
  .confirm-defect-btn,
  .room-types-btn,
  .add-staff-btn,
  .all-persons-btn,
  .report-defect-btn,
  .all-staff-btn,
  .room-cleaning-details-btn,
  .cleaning-report-btn,
  .confirm-defect-btn,
  .laundry-list-btn,
  .settings-btn,
  .laundry-btn {
    display: block;
    margin: 18px auto;
    background-color: #abababe6;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 1.4em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .add-room-btn:hover,
  .add-new-person-btn:hover,
  .tasks-btn:hover,
  .all-rooms-btn:hover,
  .logout-btn:hover,
  .rooms-btn:hover,
  .all-guest-btn:hover,
  .profile-btn:hover,
  .waste-management-btn:hover,
  .extra-works-btn:hover,
  .pest-control-btn:hover,
  .outdoor-cleaning-btn:hover,
  .monitor-btn:hover,
  .all-person-btn:hover,
  .defect-table-btn:hover,
  .receptionist-table-btn:hover,
  .supervisor-table-btn:hover,
  .cleaner-table-btn:hover,
  .settings-table-btn:hover,
  .confirm-cleaning-btn:hover,
  .confirm-disturb-btn:hover,
  .confirm-laundry-btn:hover,
  .roles-btn:hover,
  .confirm-defect-btn:hover,
  .add-staff-btn:hover,
  .room-types-btn:hover,
  .report-defect-btn:hover,
  .all-persons-btn:hover,
  .all-staff-btn:hover,
  .cleaning-report-btn:hover,
  .confirm-defect-btn:hover,
  .laundry-list-btn:hover,
  .settings-btn:hover,
  .laundry-btn:hover {
    background-color: #0084ff;
  }
  
  @media (max-width: 768px) {
    .add-room-btn,
    .add-new-person-btn,
    .all-rooms-btn,
    .logout-btn,
    .tasks-btn,
    .all-guest-btn,
    .rooms-btn,
    .all-person-btn,
    .defect-table-btn,
    .receptionist-table-btn,
    .supervisor-table-btn,
    .cleaner-table-btn,
    .settings-table-btn,
    .monitor-btn,
    .waste-management-btn,
    .extra-works-btn,
    .pest-control-btn,
    .outdoor-cleaning-btn,
    .confirm-cleaning-btn,
    .confirm-cleaning-btn,
    .profile-btn,
    .roles-btn,
    .confirm-defect-btn,
    .room-types-btn,
    .add-staff-btn,
    .all-persons-btn,
    .report-defect-btn,
    .all-staff-btn,
    .room-cleaning-details-btn,
    .cleaning-report-btn,
    .confirm-defect-btn,
    .laundry-list-btn,
    .settings-btn,
    .laundry-btn {
      font-size: 1em;
      margin: 15px auto;
    }
  }
  
  /* Başlık Satırı */
  .table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #708bb6;
    color: white;
    padding: 10px 0;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #ddd;
  }
  
  .container {
    margin-top: 0;
  }
  
  .room {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .room .room-number {
    font-size: 2em;
    font-weight: bold;
    color: #333;
  }
  
  .room-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  
  .room-info .person-count {
    font-size: 1.5em;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #000000;
  }
  
  .menu-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .menu-dropdown.active {
    display: block;
  }
  
  /* Empty Room Stili */
  .empty.room {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100px; /* Diğer odalarla aynı boyutta */
  }
  
  .add-room-button {
    font-size: 2em;
    font-weight: bold;
    color: #c00;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .add-room-button:hover,
  .add-new-room-btn:hover {
    color: #ff5a5a;
    transform: scale(1.1);
  }
  
  /* Form Container */
  .form-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  .form-group textarea {
    resize: none;
  }
  
  .form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .submit-btn,
  .reset-btn {
    width: 48%;
    padding: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .submit-btn {
    background-color: #28a745;
  }
  
  .submit-btn:hover {
    background-color: #218838;
  }
  
  .reset-btn {
    background-color: #dc3545;
  }
  
  .reset-btn:hover {
    background-color: #c82333;
  }
  .back-btn {
    background: none;
    border: none;
    padding: 5px;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .back-btn:hover .back-icon {
    filter: brightness(0.8); /* Hover efekti */
  }
  
  .back-icon {
    width: 4em;
    height: 4em;
  }
  
  /* Add Person Butonu için Özel Stil */
  /* Ortak buton stilleri */
  .add-person-container,
  .edit-room-container,
  .cleaner-room-container,
  .staff-room-container,
  .delete-room-container,
  .supervisor-room-container,
  .receptionist-room-container,
  .move-person-room-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
    width: 100%;
  }
  .add-person-btn,
  .edit-room-btn,
  .cleaner-room-btn,
  .staff-room-btn,
  .delete-room-btn,
  .supervisor-room-btn,
  .receptionist-room-btn,
  .move-room-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #000000;
    border: 2px dashed #ccc;
    padding: 20px 50px;
    width: 100%;
    border-radius: 8px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 4em; /* Yüksekliği sabitledim */
  }
  
  .add-person-btn:active,
  .edit-room-btn:active,
  .cleaner-room-btn:active,
  .delete-room-btn:active,
  .staff-room-btn:active,
  .supervisor-room-btn:active,
  .receptionist-room-btn:active,
  .move-room-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* + işareti ve ikon arasındaki mesafe */
  .plus-sign,
  .edit-room-sign {
    font-size: 2.5em;
    margin-right: 10px;
  }
  
  .person-icon,
  .edit-room-icon,
  .staff-room-icon,
  .laundry-icon,
  .delete-room-icon {
    width: 2.5em;
    height: 2.5em;
    margin-right: 10px; /* Icon ve metin arasındaki boşluk */
    vertical-align: middle; /* Iconları dikeyde hizalar */
  }
  
  .cleaning-container,
  .disturb-container,
  .laundry-container,
  .defect-container {
    display: flex;
    justify-content: center; /* Butonları yatayda ortalar */
    align-items: center; /* Butonları dikeyde ortalar */
    margin-top: 30px; /* Üstten boşluk bırakır */
    width: 100%; /* Konteynerin tam genişliği */
  }
  
  .cleaning-btn,
  .laundry-btn,
  .disturb-btn,
  .confirm-laundry-btn,
  .defect-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #28a745; /* Yeşil arka plan */
    color: white; /* Metin rengi beyaz */
    border: none; /* Kenarlık yok */
    padding: 20px 50px; /* Dikeyde ve yatayda boşluk */
    width: 100%; /* Buton tüm satırı kaplar */
    max-width: 1200px; /* Maksimum genişlik sınırı */
    border-radius: 8px; /* Kenarları yuvarlatır */
    font-size: 1.5em; /* Yazı boyutu */
    cursor: pointer; /* İmleç işareti pointer olur */
    transition: all 0.3s ease; /* Hover ve active durumlar için geçiş animasyonu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Hafif gölge */
    text-align: center; /* Yazıyı ortalar */
  }
  
  .cleaning-btn:hover,
  .laundry-btn:hover,
  .disturb-btn:hover,
  .confirm-laundry-btn:hover,
  .defect-btn:hover {
    background-color: #218838; /* Hover durumunda koyu yeşil */
    transform: scale(1.02); /* Butonun biraz büyümesi */
  }
  
  .cleaning-btn:active,
  .disturb-btn:active,
  .laundry-btn:active,
  .confirm-laundry-btn:active,
  .defect-btn:active {
    transform: scale(0.98); /* Buton tıklanınca küçülür */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Gölge küçülür */
  }
  
  /* Icon ve metin arasındaki boşluk */
  .cleaning-icon,
  .laundry-icon,
  .defect-icon,
  .laundry-icon,
  .disturb-icon {
    width: 2.5em;
    height: 2.5em;
    margin-right: 10px; /* İkon ve metin arasına mesafe */
    vertical-align: middle; /* Iconu ortalar */
  }
  .room-number {
    font-size: 30px;
    color: white;
    margin-left: 15px;
  }
  .defect-btn.active {
    background-color: #bb2836; /* Tıklandığında kırmızı */
  }
  .cleaning-btn.active {
    background-color: #e79a1e; /* Turuncu renk */
  }
  /* Info Container */
  .info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 10px; /* Butonun üstünde boşluk bırakır */
    width: 100%;
    max-width: 1200px;
    font-size: 1.2em; /* Yazı boyutunu belirler */
    color: #555; /* Yazı rengi */
  }
  
  /* Individual Info Items */
  .person-info,
  .capacity-info,
  .cleaner-room-number {
    font-weight: bold; /* Kalın yazı */
    margin-top: 15px;
  }
  
  /* Container for defect type */
  .defect-type-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto; /* Center align */
    text-align: center; /* Aligns text to center */
    font-family: Arial, sans-serif;
  }
  
  .defect-type-container h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #555;
  }
  
  /* Grid layout for icons */
  .defect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px; /* Space between items */
  }
  
  /* Individual defect items */
  .defect-item {
    background-color: #ababab; /* Light grey background */
    border-radius: 10px; /* Rounded corners */
    padding: 20px 10px; /* Add vertical padding */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Clickable appearance */
    height: 150px; /* Consistent height */
    position: relative; /* Allow precise adjustment with relative positioning */
  }
  
  .defect-item:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
  
  .defect-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px; /* Space between icon and text */
    margin-left: 3px;
    position: relative;
    left: 3px; /* Adjust horizontally (positive moves right, negative moves left) */
  }
  
  .defect-item span {
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    text-align: center; /* Ensure text is centered */
  }
  .defect-text {
    margin-top: 1em;
  }
  
  .defect-item.active {
    background-color: #f7910b; /* Orange background */
    color: white; /* Optional: Change text color */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Add a stronger shadow for active state */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .add-person-section {
    width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .add-person-title {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
  }
  
  .add-person-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .add-person-label {
    font-size: 1em;
    color: #555;
    font-weight: 500;
  }
  
  .add-person-select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
  }
  
  .unique-add-person-btn,
  .unique-add-new-person-btn {
    width: 70%;
    padding: 10px 15px;
    background-color: #4caf50;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .unique-add-person-btn:hover {
    background-color: #45a049;
  }
  .person-cards {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* Kartların satır oluşturmasını sağlar */
    gap: 15px;
    justify-content: space-between;
  }
  
  .person-card {
    flex: 1 1 calc(33.333% - 15px); /* Desktop için 3'lü düzen */
    max-width: calc(33.333% - 15px);
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .person-card-icon {
    width: 3em;
    height: 3em;
  }
  
  .person-card-name {
    font-size: 1.3em;
    color: #333;
    font-weight: bold;
  }
  
  /* Tablet için düzenleme (768px ve altı) */
  @media (max-width: 768px) {
    .person-card {
      flex: 1 1 calc(50% - 15px); /* Tablet için 2'li düzen */
      max-width: calc(50% - 15px);
    }
  }
  
  /* Mobil için düzenleme (480px ve altı) */
  @media (max-width: 480px) {
    .person-card {
      flex: 1 1 100%; /* Mobil için alt alta düzen */
      max-width: 100%;
    }
  }
  .defect-message-container {
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-radius: 12px 12px 0 0;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .message-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .message-box {
    width: 100%;
    min-height: 120px;
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    resize: vertical;
    font-size: 18px;
    outline-color: #4a90e2;
  }
  
  .send-message-btn {
    align-self: center;
    background-color: #ffa600;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .send-message-btn:hover {
    background-color: #357abd;
  }
  
  .send-message-icon {
    width: 2em;
    height: 2em;
    object-fit: contain;
  }
  
  @media (max-width: 480px) {
    .send-message-btn {
      width: 100%;
      justify-content: center;
    }
  }
  .housekeeping-icon,
  .person-icon {
    width: 3.5em;
    height: 3.5em;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-toggle {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
  }
  
  .dropdown-toggle::after {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 160px;
    padding: 8px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }
  
  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #16181b;
    text-decoration: none;
  }
  
  .dropdown-item.active {
    background-color: #e9ecef;
    color: #16181b;
  }
  
  .flag-icon {
      width: 20px;
      height: 15px;
      margin-right: 8px;
      object-fit: cover;
      border-radius: 2px;
  }
  
  .translations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .translation-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .translation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  
  .translation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
  }
  
  .translation-key {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
  }
  
  .edit-all-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .edit-all-btn:hover {
    background: var(--accent-color);
    color: white;
  }
  
  .translations-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .translation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
  }
  
  .translation-value {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    color: #444;
  }
  
  .language-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
  }
  
  /* Dil rozetleri için farklı renkler */
  .language-badge:contains("en") {
    background: #e3f2fd;
    color: #1976d2;
  }
  
  .language-badge:contains("tr") {
    background: #fce4ec;
    color: #c2185b;
  }
  
  .language-badge:contains("de") {
    background: #f3e5f5;
    color: #7b1fa2;
  }
  
  .edit-btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 0.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .edit-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
  }
  
  /* Responsive tasarım */
  @media (max-width: 768px) {
    .translations-grid {
        grid-template-columns: 1fr;
    }
    
    .translation-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .translation-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .translation-value {
        width: 100%;
    }
  }
  /* Translations sayfası için modern stil */
  .translations-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .page-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
  }
  
  .search-box {
    position: relative;
    width: 300px;
  }
  
  .search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
  }
  
  .modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .modern-table th {
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
  }
  
  .modern-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .modern-table tr:last-child td {
    border-bottom: none;
  }
  
  .modern-table tr:hover {
    background-color: #f8f9fa;
  }
  
  .language-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .edit-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .edit-btn:hover {
    background: rgba(95, 109, 148, 0.1);
  }
  
  .modern-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  }
  
  .modern-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem;
  }
  
  .modern-modal .modal-body {
    padding: 1.5rem;
  }
  
  .modern-modal .form-group {
    margin-bottom: 1.2rem;
  }
  
  .modern-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 500;
  }
  
  .modern-modal .form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .modern-modal .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(95, 109, 148, 0.1);
    outline: none;
  }
  
  .modern-modal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 1.5rem;
  }
  
  .btn-save {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .btn-save:hover {
    background: #4a5674;
  }
  
  .btn-cancel:hover {
    background: #e0e0e0;
  }
  
  .alert-success, .alert-error {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
  }
  
  .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
  }
  
  .alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ffcdd2;
  }
  
.language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.language-pill {
    border: 1px solid #d7d9e4;
    border-radius: 999px;
    background: #fff;
    color: #414660;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-pill .language-code {
    font-weight: 600;
}

.language-pill .language-name {
    font-size: 0.8rem;
    color: #6b6f84;
}

.language-pill.is-active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.language-pill:disabled {
    opacity: 0.6;
    cursor: wait;
}

.language-pill:not(.is-active):hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.index-mobile-first .search-wrapper .input-group-text {
    border-radius: 999px 0 0 999px;
}

.index-mobile-first .search-wrapper .form-control {
    border-radius: 0 999px 999px 0;
    font-size: 1rem;
    padding: 0.8rem 1rem;
}

.mobile-accordion .accordion-button {
    background: #f8f9fc;
    font-weight: 600;
}

.mobile-accordion .accordion-item {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #edf0fb;
    margin-bottom: 1rem;
}

.mobile-accordion .accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.location-row .col-6,
.location-row .col-12,
.location-row .col-md-4 {
    display: flex;
}

.location-tile {
    border-radius: 1rem;
    padding: 1rem;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(44, 62, 101, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-tile:hover,
.location-tile:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(44, 62, 101, 0.15);
}

.location-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2b3050;
}

.location-type {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.tile-dorm-room {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.15), rgba(66, 133, 244, 0.05));
    border: 1px solid rgba(66, 133, 244, 0.35);
}

.tile-hotel-room {
    background: linear-gradient(145deg, rgba(250, 204, 21, 0.18), rgba(250, 204, 21, 0.05));
    border: 1px solid rgba(212, 159, 33, 0.5);
}

.tile-common-area {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.45);
    text-align: left;
}

.tile-common-area .location-label {
    text-align: left;
}

.tile-common-area .location-type {
    text-align: left;
}

.page-header,
.page-actions,
.search-box,
.page-metrics,
.location-section,
.location-section__header,
.section-stats,
.room-grid,
.room-card,
.room-card__code,
.room-card__meta,
.section-empty,
.location-subsection,
.location-subsection__title,
.location-chip-grid,
.location-chip,
.location-chip strong,
.location-chip span,
.standalone-section {
    display: none;
}

.index-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.search-panel .input-group-text {
    border-radius: 999px 0 0 999px;
}

.search-panel .form-control {
    border-radius: 0 999px 999px 0;
    padding: 0.85rem 1rem;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-accordion .accordion-button {
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.dashboard-accordion .accordion-button::after {
    background-size: 1rem;
}

.dashboard-accordion .accordion-item {
    border: none;
}

.card-dormitory {
    background: linear-gradient(120deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
}

.card-hotel {
    background: linear-gradient(120deg, rgba(251,191,36,0.2), rgba(251,191,36,0.08));
}

.card-generic {
    background: linear-gradient(120deg, rgba(148,163,184,0.18), rgba(148,163,184,0.06));
}

.mobile-bottom-nav {
    z-index: 1040;
}

.mobile-bottom-nav .nav-link {
    font-size: 0.75rem;
    color: #6c6f80;
    text-decoration: none;
}

.mobile-bottom-nav .nav-link.active {
    color: var(--bs-primary);
}

.mobile-bottom-nav .nav-label {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-circle-primary {
    background: rgba(59,130,246,0.15);
    color: #1d4ed8;
}

.icon-circle-warning {
    background: rgba(250,204,21,0.2);
    color: #b45309;
}

.icon-circle-success {
    background: rgba(16,185,129,0.15);
    color: #047857;
}

.icon-circle-secondary {
    background: rgba(108,117,125,0.15);
    color: #495057;
}

.quick-action-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.room-pill {
    display: block;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(67,74,104,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(67,74,104,0.2);
}

.room-pill .room-code {
    font-weight: 700;
    color: #20233c;
}

.room-pill .room-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(31,36,59,0.65);
}

.facility-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1.2rem;
    padding: 1.5rem 1rem;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(26, 33, 60, 0.1);
    text-align: center;
    color: #1f253b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(26, 33, 60, 0.2);
}

.facility-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(14,165,233,0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #0ea5e9;
}

.facility-label {
    font-weight: 600;
}

.section-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.is-hidden {
    display: none !important;
}

.search-empty {
    text-align: center;
    color: #7c7f8f;
    font-weight: 500;
    padding: 1rem;
}

.floating-home-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #d6d5d5;
    color: #8f8c8c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-home-btn:hover,
.floating-home-btn:focus-visible {
    background: #4a5674;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.floating-home-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

.floating-home-btn i {
    font-size: 1.5rem;
}

  @keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  @media (max-width: 768px) {
    .translations-container {
        padding: 1rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        width: 100%;
    }
    
    .modern-table {
        display: block;
        overflow-x: auto;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-metrics {
        width: 100%;
    }

    .page-metrics div {
        flex: 1;
    }

    .room-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }

    .floating-home-btn {
        width: 3rem;
        height: 3rem;
        bottom: 1rem;
        left: 1rem;
    }
  }