/* assets/css/style.jvm.css */

@font-face {
  font-family: 'Carloschi';
  src: url('/assets/fonts/carloschi.ttf')  format('truetype'),
       url('/assets/fonts/carloschi.otf')  format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body, button, input, textarea, select {
  font-family: 'Carloschi', sans-serif;
}


:root {
  --bg-color: #0a0f0b;
  --text-color: #fff;
  --card-color: #1f1f1f;
  --accent: #38bdf8;
  --font: 'carloshi', sans-serif;
  --color-grey: '#202925';
  
}

body {
margin: 0;
background: var(--bg-color) !important;
color: var(--text-color);
font-family: var(--font);
padding: 2rem;

}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.profile-btn {
  background: #222;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  float:right;
}

h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
}

.subtitle {
  color: #999;
  margin-bottom: 2rem;
  font-family: "carloshi";
}

.card-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card {
  background: var(--card-color);
  padding: 2rem;
  border-radius: 1rem;
  flex: 1 1 200px;
  cursor: pointer;
  transition: 0.3s ease;
}

.card:hover {
  background: #333;
}

.hidden {
  display: none;
}

.content {
  margin-top: 2rem;
}

.tab-content.active { display: block; }

.tabImage{
  height:50px;
  margin-bottom:15px;
}

h3.tabHeader{
  font-weight:bold;
  font-size:1.4em;
  margin-bottom:10px;
  font-stretch: 75%; /* oder z. B. 75%, 80%, etc. */

}

h1.tabHeader{
  font-weight:bold;
  float:left;
  font-size:4em;
  margin-bottom:10px;
  font-stretch: 75%; /* oder z. B. 75%, 80%, etc. */

}

input, textarea,select,option{
  background-color:var(--color-grey);
 
}


.bg-grey{
  background-color:var(--color-grey)
}

#ttsTextInput{
  height:280px;
}
.rounded-md{
  border-radius: 1rem;
}

input, option{
  color:#000;
}


/* Loading Bar */
#loading-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #16231D; /* track color (matches your cards) */
  z-index: 10000;
  overflow: hidden;
 
}

#loadingBar {
  width: 0%;
  height: 100%;
  background: #F2C94C; /* highlight color (matches slider accents) */
  transition: width 0.2s ease;
}


.modal-content {
  background-color: #333; 
}

#loginForm input{
  color:#fff;
}

#loginForm button {
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid #fff;
  background-color: #333;  
  color: white;
  cursor: pointer;
}

/* in assets/css/style.css */
header .profile-btn {
  margin: 0 0.5rem;
}


#topNavigation a{
  font-size: 1.5em;
    font-weight: bold;
}


@keyframes indeterminate {
  0%   { left: -30%; }
  50%  { left: 50%; }
  100% { left: 100%; }
}
.indeterminate {
  animation: indeterminate 1.2s ease-in-out infinite;
}

.accent-lime-400{
  background-color: #FFFF00  !important;
  accent-color: #FFFF00 !important;
}

#userHistory{
  max-height: 700px;
  overflow-y:auto;
}

  .history-entry {
    margin-bottom: 1.5em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .history-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
  }

  .history-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
  }

  .history-meta span {
    display: flex;
    align-items: center;
    gap: 0.3em;
    color: #999;
  }

  .play-button {
    background-color: #6b7280;
    border-radius: 0.25em;
    padding: 0.5em;
    border: none;
    cursor: pointer;
  }

  .play-button:hover {
    background-color: #374151;
  }

  @media (max-width: 600px) {
    .history-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .history-meta {
      flex-direction: column;
      align-items: flex-start;
    }

    .play-button {
      margin-top: 0.5em;
    }
  }