body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #232323;
    color: #fff;
  }

  .logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 6px;
    cursor:pointer;
  }
  
  .app {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
  }
  
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #222;
    border-bottom: 1px solid #333;
    gap: 12px;
  }

  .login {
    background-color: #2b2b2b;
    width: 320px;           /* Set a fixed width */
    margin: 40px auto 0;    /* Center horizontally and add top margin */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;          /* Add internal padding */
  }

  .search-block {
    flex: 1;
    margin-bottom: 3%;
    display: flex;
    gap: 6px;
  }
  
  .search-block input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: #333;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
  }

  .title {
    display: flex;
    justify-content: center;
  }
  
  .button-row button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;      /* Match input vertical padding */
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;      /* Match input font size */
    cursor: pointer;
    transition: background 0.2s;
  }
  .button-row button:hover {
    background: #555;
  }

  .login-panel {
    background-color: #2b2b2b;
    width: 320px;           /* Set a fixed width */
    margin: 0px auto 0;    /* Center horizontally and add top margin */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;          /* Add internal padding */
  }

  .select-panel {
    background-color: #2b2b2b;
    width: 320px;           /* Set a fixed width */
    margin: 0px auto 0;    /* Center horizontally and add top margin */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;          /* Add internal padding */
  }

  .department select {
    height: 100%;
    display: flex;
    width: 100%;
    padding: 8px 32px 8px 16px; /* Increase right padding */
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    background: #333;
    color: #fff;
    appearance: none; /* Optional: removes default arrow for custom styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='16' height='16' fill='white' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }

  .help-text {
    text-align: center;
    margin: 20px auto 0;
    width: 320px;
    font-size: 0.9rem;
    color: #aaa;
    opacity: 0.8;
  }
  
  .help-text p {
    margin: 0;
    padding: 10px;
  }

  .info-text {
    text-align: center;
    margin: 30px auto 20px;
    width: 320px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 20px;
  }
  
  .info-section {
    margin-bottom: 20px;
  }
  
  .info-section h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #bbb;
    margin: 0 0 8px 0;
    text-align: left;
  }
  
  .info-section p {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 4px 0;
    text-align: left;
    line-height: 1.4;
  }

.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8f8f8f;
  font-size: 0.82rem;
  margin: -6px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: #3b3b3b;
  flex: 1;
}

#login-discord-btn {
  gap: 8px;
  background: #333;
  font-weight: 600;
}

#login-discord-btn:hover {
  background: #3d3d3d;
}

.login-message {
  min-height: 18px;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  color: #ff7468;
}

.login-message:empty {
  display: none;
}

.login-message.success {
  color: #9be28f;
}

.button-row button:disabled {
  opacity: 0.65;
  cursor: default;
}
