body {
    background-image: url('/img/isimsehir.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    background-color: #1e1e2f;
    color: #ffffff;
    margin: 60px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: auto;
  }
body::-webkit-scrollbar {
    width: 4px; 
  }
  
  body::-webkit-scrollbar-track {
    background: #1c1c3b;
    border-radius: 10px;
  }
  
  body::-webkit-scrollbar-thumb {
    background: #ffd700; 
    border-radius: 10px;
    transition: background 0.3s ease;
  }
  
  body::-webkit-scrollbar-thumb:hover {
    background: #f0c020; 
  }

.container {
    max-width: 700px;
    margin: 50px auto;
    background-color: #1f1f31;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 25px;
    font-size: 2rem;
}

label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
    color: #ffd700;
    font-size: 1rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #1f1f31;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    width: 30%;
    padding: 14px;
    margin-top: 15px;
    border-radius: 8px;
    border: none;
    background-color: #ffd700;
    color: #1c1c3b;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #f0c020;
}

.category-container,
.letter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.category,
.letter {
    padding: 10px 14px;
    background-color: #1f1f31;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: white;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.category:hover,
.letter:hover {
    background: #ffd700;
    color: #1c1c3b;
}

.category.selected,
.letter.selected {
    background: #ffd700;
    color: #1c1c3b;
}

.radio-group {
    margin-bottom: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ffd700;
    font-size: 1rem;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    accent-color: #ffd700;
    width: 20px;
    height: 20px;
}

.selection-display {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #ffd700;
}


.header-image {
    text-align: center;
    margin-bottom: 20px; 
}

.header-image img {
    max-width: 150px; 
    height: auto; 
    display: inline-block; 
}
#selectAllLetters{
    margin-bottom: 20px;
}
#addCategoryButton{
    margin-bottom: 20px;
}

.info-tooltip {
    display: inline-block;
    margin-left: 6px;       
    color: #ffc107;          
    cursor: pointer;         
    position: relative;      
    font-weight: bold;       
  }

  .info-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    white-space: pre-line;
    background: #2e2e3e; 
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    width: 500px;
  }
  
  .info-tooltip:hover::after {
    display: block;
  }

  .required {
  color: #ffd700;
  margin-left: 2px;
}

.password-group label {
  display: block;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 6px;
}

.password-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: #1f1f31;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 20px;
}
  

@media (max-width: 768px) {
    .container {
        margin: 0 20px
    }
    button {
        width: 40%;
        padding: 14px;
        margin-top: 15px;
        border-radius: 8px;
        border: none;
        background-color: #ffd700;
        color: #1c1c3b;
        font-weight: bold;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .info-tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        white-space: pre-line;
        background: #2e2e3e; 
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: none;
        width: 300px;
      }
}

@media (max-width: 440px) {
    .info-tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        white-space: pre-line;
        background: #2e2e3e; 
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: none;
        width: 150px;
      }
  }