
/* CSS LOADED - VERSION 20251001150400 */
body::before {
  content: "CSS Updated!";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: red;
  color: white;
  padding: 2px 8px;
  font-size: 10px;
  z-index: 9999;
  display: none; /* Sadece test için */
}

/* CRITICAL MOBILE NAVIGATION OVERRIDE - HIGHEST PRIORITY */
@media screen and (max-width: 768px) {
  .nav { 
    flex-direction: column !important; 
    display: flex !important;
    position: fixed !important;
    left: 3px !important;
    top: 3px !important;
    gap: 2px !important;
    z-index: 1000 !important;
  }
  
  .nav a {
    padding: 2px 4px !important;
    font-size: 8px !important;
    min-width: auto !important;
    background: #1e1e1e !important;
    border-radius: 2px !important;
    box-shadow: 0 0 3px rgba(0,0,0,.4) !important;
    line-height: 1.2 !important;
  }
  
  /* Force auth buttons to stack vertically */
  div.auth,
  .auth,
  [class="auth"],
  div[class*="auth"] { 
    flex-direction: column !important; 
    display: flex !important;
    position: fixed !important;
    right: 3px !important;
    top: 3px !important;
    align-items: flex-end !important;
    gap: 1px !important;
    z-index: 1000 !important;
  }
  
  div.auth a,
  .auth a,
  [class="auth"] a,
  div[class*="auth"] a {
    display: block !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    background: none !important;
    padding: 1px 2px !important;
    border-radius: 0 !important;
    font-size: 7px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    color: #08ffe6 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    min-width: auto !important;
  }
}

@media screen and (max-width: 480px) {
  .nav {
    left: 2px !important;
    top: 2px !important;
    gap: 1px !important;
  }
  
  .nav a {
    padding: 1px 3px !important;
    font-size: 7px !important;
  }
  
  div.auth,
  .auth,
  [class="auth"],
  div[class*="auth"] {
    right: 2px !important;
    top: 2px !important;
    gap: 0px !important;
  }
  
  div.auth a,
  .auth a,
  [class="auth"] a,
  div[class*="auth"] a {
    padding: 0px 2px !important;
    font-size: 6px !important;
  }
  
  body {
    padding-top: 8px !important;
  }
}

@media screen and (max-width: 360px) {
  .nav {
    left: 1px !important;
    top: 1px !important;
    gap: 1px !important;
  }
  
  .nav a {
    padding: 1px 2px !important;
    font-size: 6px !important;
  }
  
  div.auth,
  .auth,
  [class="auth"],
  div[class*="auth"] {
    right: 1px !important;
    top: 1px !important;
    gap: 0px !important;
  }
  
  div.auth a,
  .auth a,
  [class="auth"] a,
  div[class*="auth"] a {
    padding: 0px 1px !important;
    font-size: 5px !important;
  }
  
  body {
    padding-top: 5px !important;
  }
}

.logo {
    position: absolute; 
    top: 20px; 
    left: 20px; 
    width: 100px; 
    height: 100px; 
    z-index: 10; 
}


@font-face {
    font-family: 'SedgwickAveDisplay';
    src: url('SedgwickAveDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RubikGlitch';
    src: url('RubikGlitch-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #121212;
    margin: 0;
    color: #fff;
}

form input[type=text], form input[type=password], form input[type=file], form select {
    width: 100%;
    box-sizing: border-box;
}


.move-title {
    font-family: 'SedgwickAveDisplay', cursive, sans-serif;
    font-size: 45px;
    color: #ffffff;
    margin-bottom: 10px;
}

.role-top {
    position: fixed;
    left: 16px;
    top: 16px;
    font-family: 'RubikGlitch', cursive, sans-serif;
    font-size: 26px;
    color: #fff;
    z-index: 50;
}


.song-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 5px;
    box-shadow: 0 0 10px #08FFE6;
    transition: box-shadow 0.3s;
    display: none; 
}

.song-title.paused {
    box-shadow: 0 0 10px red;
}

.player-container {
    width: 300px;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
}

.controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.control-button {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: #ddd;
    transition: background .2s, color .2s, box-shadow .2s, transform .05s;
}
.control-button:active { transform: scale(0.96); }
.control-button:hover { background-color:#333; color:#fff; box-shadow:0 0 8px rgba(8,255,230,.25); }
.control-button.active { color: #08FFE6; box-shadow: 0 0 10px #08FFE6; border-color: rgba(8,255,230,.35); }

#play.control-button { color:#0cf; }
#play.control-button.active { color:#00e5ff; box-shadow:0 0 10px rgba(0,229,255,.6); }
#prev.control-button, #next.control-button { color:#9aa7ff; }
#shuffle.control-button { color:#c9ff8f; }
#loop.control-button { color:#ffcf6e; }

.control-button {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60% 60%;
}
.btn-play { background-image: url('/baslat.png'); }
.btn-play.is-playing { background-image: url('/durdur.png'); }
.btn-prev { background-image: url('/geri.png'); }
.btn-next { background-image: url('/ileri.png'); }
.btn-shuffle { background-image: url('/shuffle.png'); }
.btn-loop { background-image: url('/tekrar.png'); }
.btn-sesli { background-image: url('/sesli.png'); }
.btn-sesli.muted { background-image: url('/sessiz.png'); }

.icon-btn.png-heart { width:26px; height:26px; padding:0; background-size: 80% 80%; background-position:center; background-repeat:no-repeat; background-image:url('/favori.png'); }
.icon-btn.png-heart.active { background-image:url('/favorired.png'); box-shadow:0 0 8px #ff4070; }
.icon-btn.png-list { width:26px; height:26px; padding:0; background-size: 80% 80%; background-position:center; background-repeat:no-repeat; background-image:url('/liste.png'); }
.icon-btn.png-remove { width:26px; height:26px; padding:0; background-size: 80% 80%; background-position:center; background-repeat:no-repeat; background-image:url('/listecikar.png'); }

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

#progress-bar {
    flex: 1;
    margin: 0 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #08FFE6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #08FFE6;
}

#progress-bar::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #08FFE6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #08FFE6;
}

#current-time, #duration {
    font-size: 12px;
    width: 40px;
    text-align: center;
    color: #fff;
}

#song-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px; 
    overflow-y: auto; 
    scrollbar-width: thin; 
    scrollbar-color: #08FFE6 #1e1e1e; 
}


#song-list::-webkit-scrollbar {
    width: 8px;
}

#song-list::-webkit-scrollbar-track {
    background: #1e1e1e;
}

#song-list::-webkit-scrollbar-thumb {
    background-color: #08FFE6;
    border-radius: 10px;
    border: 2px solid #1e1e1e;
}

#song-list li {
    background-color: #333;
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    color: #fff;
}

#song-list li:hover {
    background-color: #444;
}

#song-list li.active {
    color: #08FFE6;
    text-shadow: 0 0 20px #08FFE6;
}


#song-list li.special-song {
    background-color: #735c8a !important;
}

#song-list li.special-song.active {
    color: #08FFE6;
    text-shadow: 0 0 20px #08FFE6; 
}

.volume-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#volume-slider {
    flex: 1;
    margin: 0 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--thumb-color, #08FFE6); 
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

#volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--thumb-color, #08FFE6); 
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}


#volume-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 10px var(--thumb-color, #08FFE6);
}

#volume-slider::-moz-range-thumb:hover {
    box-shadow: 0 0 10px var(--thumb-color, #08FFE6);
}

.control-button.muted i {
    color: black;
    text-shadow: 0 0 25px red;
}

.icon-btn {
    background: #2a2a2a;
    color: #ddd;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s, color .2s, box-shadow .2s, transform .05s;
}
.icon-btn:hover { background-color:#3a3a3a; color:#fff; box-shadow:0 0 8px rgba(255,255,255,.08); }
.icon-btn:active { transform: scale(0.97); }
.icon-btn.fav.active{
    color: #ff4070;
    text-shadow: 0 0 8px #ff4070;
}

.icon-btn.fav i { color:#ff7f9b; }
.icon-btn.fav:hover i { color:#ff98ae; }

.dropdown-menu{
  position:absolute; right:0; top:28px; min-width:220px; background:#1e1e1e; border:1px solid #333; border-radius:10px; padding:6px; z-index:9999; box-shadow:0 8px 18px rgba(0,0,0,.5);
}
.dropdown-menu button{
  display:block; width:100%; text-align:left; background:#2a2a2a; color:#fff; border:none; border-radius:8px; padding:8px 10px; margin:4px 0; cursor:pointer;
}
.dropdown-menu button:hover{ background:#3a3a3a; }

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
  /* Navigation buttons (Müzisyenler, Adaylar) - keep side by side */
  body .nav,
  html .nav,
  div .nav {
    position: fixed !important;
    left: 10px !important;
    top: 10px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    z-index: 1000 !important;
  }
  
  body .nav a,
  html .nav a,
  div .nav a {
    padding: 8px 12px !important;
    font-size: 14px !important;
    background: #1e1e1e !important;
    border-radius: 8px !important;
    box-shadow: 0 0 10px rgba(0,0,0,.4) !important;
    color: #08ffe6 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    margin-left: 0 !important;
  }
  
  body .nav a.active,
  html .nav a.active,
  div .nav a.active {
    background: #08ffe6 !important;
    color: #091216 !important;
  }
  
  /* Auth buttons (Profilim, Çalma Listelerim, Çıkış) - stack vertically */
  body .auth,
  html .auth,
  div .auth {
    position: fixed !important;
    right: 10px !important;
    top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
    z-index: 1000 !important;
  }
  
  body .auth a,
  html .auth a,
  div .auth a {
    margin-left: 0 !important;
    background: #1e1e1e !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-shadow: 0 0 10px rgba(0,0,0,.4) !important;
    white-space: nowrap !important;
    color: #08ffe6 !important;
    text-decoration: none !important;
    font-weight: bold !important;
  }
  /* Logo adjustments */
  .logo {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
  }

  /* Title adjustments */
  .move-title {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 10px;
  }

  .role-top {
    left: 10px;
    top: 10px;
    font-size: 18px;
  }

  /* Player container mobile optimization */
  .player-container {
    width: calc(100% - 20px);
    max-width: 400px;
    margin: 0 10px;
    padding: 15px;
  }

  /* Controls mobile layout */
  .controls {
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .control-button {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  /* Progress container mobile */
  .progress-container {
    margin-bottom: 15px;
  }

  #current-time, #duration {
    font-size: 11px;
    width: 35px;
  }

  /* Volume container mobile */
  .volume-container {
    margin-bottom: 15px;
  }

  /* Song list mobile */
  #song-list {
    max-height: 150px;
    font-size: 14px;
  }

  #song-list li {
    padding: 8px;
    margin: 3px 0;
    font-size: 14px;
  }

  /* Song title mobile */
  .song-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding: 8px;
    max-width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

  /* Form elements mobile */
  form input[type=text], 
  form input[type=password], 
  form input[type=file], 
  form select {
    padding: 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Icon buttons mobile */
  .icon-btn {
    padding: 8px 10px;
    font-size: 14px;
  }

  .icon-btn.png-heart, 
  .icon-btn.png-list, 
  .icon-btn.png-remove {
    width: 32px;
    height: 32px;
  }

  /* Dropdown menu mobile */
  .dropdown-menu {
    min-width: 180px;
    right: -10px;
  }

  .dropdown-menu button {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  /* Extra small screens */
  /* Navigation layout for very small screens */
  body .nav,
  html .nav,
  div .nav {
    position: fixed !important;
    left: 5px !important;
    top: 5px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    z-index: 1000 !important;
  }
  
  body .nav a,
  html .nav a,
  div .nav a {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  
  body .auth,
  html .auth,
  div .auth {
    position: fixed !important;
    right: 5px !important;
    top: 5px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
    z-index: 1000 !important;
  }
  
  body .auth a,
  html .auth a,
  div .auth a {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  
  .move-title {
    font-size: 24px;
  }

  .player-container {
    width: calc(100% - 10px);
    margin: 0 5px;
    padding: 12px;
  }

  .controls {
    gap: 6px;
  }

  .control-button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  #song-list {
    max-height: 120px;
  }

  #song-list li {
    padding: 6px;
    font-size: 13px;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .role-top {
    font-size: 16px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .player-container {
    max-width: 500px;
  }

  #song-list {
    max-height: 100px;
  }

  .move-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .control-button {
    min-height: 44px;
    min-width: 44px;
  }

  .icon-btn {
    min-height: 44px;
    min-width: 44px;
  }

  #song-list li {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Additional global mobile enhancements */
@media (max-width: 768px) {
  /* Ensure all text is readable on mobile */
  body {
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding-top: 10px !important;
  }
  
  /* Improve button spacing and sizing */
  button, .btn, input[type="submit"], input[type="button"] {
    margin: 4px 0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
  }
  
  /* Better form layouts */
  form {
    width: 100% !important;
    max-width: none !important;
  }
  
  label {
    display: block !important;
    margin: 8px 0 4px !important;
    font-weight: bold !important;
  }
  
  /* Improve link accessibility */
  a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px !important;
    text-decoration: none !important;
  }
  
  /* Better spacing for content */
  .panel, .card, .container {
    margin: 8px 0 !important;
    padding: 12px !important;
  }
  
  /* Responsive images */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Better scrolling */
  body {
    overflow-x: hidden !important;
  }
  
  /* Improve table readability */
  table {
    width: 100% !important;
    font-size: 12px !important;
    border-collapse: collapse !important;
  }
  
  th, td {
    padding: 8px 4px !important;
    text-align: left !important;
    border-bottom: 1px solid #333 !important;
  }
  
  /* Better modal/popup handling */
  .modal, .popup, .dialog {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin: 10px !important;
    padding: 15px !important;
    border-radius: 8px !important;
  }
}

/* Prevent horizontal scrolling on very small screens */
@media (max-width: 320px) {
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  body {
    padding: 50px 5px 5px 5px !important;
    font-size: 13px !important;
  }
  
  .move-title {
    font-size: 20px !important;
  }
  
  button, .btn {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .btn, button {
    border: none !important;
  }
  
  input[type=text], 
  input[type=password], 
  input[type=email],
  input[type=number],
  input[type=file], 
  select, 
  textarea {
    border: none !important;
  }
}
