body {
  background: #505050;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

html, body {
  width: 100%;
  height: 100%;
}

*, ::after, ::before {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

img {
  vertical-align: middle;
  border-style: none;
  object-fit: cover;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

ol, ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a, a:active {
  text-decoration: none;
  color: #000;
}

.no-margin {
  margin: 0;
}

.dropdown-content {
  top: 100% !important;
}

#main {
  min-height: 100vh;
}

.index {
  height: 100vh;
}

#login, #register {
  padding: 15px;
}

.form {
  display: table-cell;
  vertical-align: middle;
}

.nav-wrapper {
  text-transform: uppercase;
}

/* ==========================================================================
   MODERN KOYU TEMA TABLO DÜZENLEMELERİ (MATERIALIZE ÇAKIŞMA ÇÖZÜMLERİ)
   ========================================================================== */

/* 1. Genel Tablo Yazı ve Arka Plan Rengi */
table {
  color: #e0e8f5 !important;
  width: 100%;
  border-collapse: collapse;
}

/* 2. Tablo Başlıkları (th) */
table thead th, 
table th {
  color: #ffd700 !important; /* Altın sarısı/vurgu */
  font-weight: bold !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12) !important;
  padding: 12px 10px !important;
}

/* 3. Tablo Hücreleri (td) */
table tbody td, 
table td {
  color: #e2e8f0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 10px !important;
}

/* 4. Çizgili Tablolar (table.striped) - Koyu Temaya Uygun */
table.striped > tbody > tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.03) !important; /* Çok hafif beyaz opaklık */
}

table.striped > tbody > tr:nth-child(even) {
  background-color: transparent !important;
}

/* 5. Satır Üzerine Gelindiğinde Vurgu (table.highlight) */
table.highlight > tbody > tr:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
  transition: background-color 0.2s ease;
}

/* 6. Devre Dışı/Maksimuma Ulaşmış Satırlar */
tr.disabled-item {
  opacity: 0.5;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.tabs .tab a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.tabs .tab a:hover, .tabs .tab a.active {
  color: #fff;
}

.container-center {
  padding: 0;
  display: table;
  height: 100%;
}

.helper-text {
  font-size: 14px !important;
}

#toast-container {
  top: auto !important;
  right: auto !important;
  bottom: 3%;
  left: 1.5%;
}

.inline-right {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.padding-15 {
  padding: 15px !important;
}

.padding-5 {
  padding: 5px !important;
}

/* 7. Tablo İçindeki Bağlantılar (a) */
table tbody tr td a {
  color: #4fc3f7 !important; /* Canlı açık mavi link rengi */
  font-weight: 500;
  transition: color 0.2s ease;
}

table tbody tr td a:hover {
  color: #81d4fa !important;
  text-decoration: underline !important;
}

input[type=text]:not(.browser-default).invalid ~ .helper-text[data-error] {
  color: transparent !important;
}

#data {
  padding: 10px 25px;
}

.card .card-image img {
  padding-top: 15px;
  width: unset;
  display: unset;
}

@media only screen and (max-width: 992px) {
  nav .brand-logo {
    left: unset !important;
    -webkit-transform: unset !important;
    transform: unset !important;
  }
  .hide-on-med-and-down {
    display: unset !important;
  }
}

.toast .toast-action {
  margin-left: 15px;
  margin-right: -15px;
}

.select-wrapper input {
  color: #fff;
}

.btn.disabled, .disabled.btn-large, .disabled.btn-small, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled, .btn:disabled, .btn-large:disabled, .btn-small:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled, .btn[disabled], .btn-large[disabled], .btn-small[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled] {
  background-color: #424242 !important;
}
