@import url(common.css);

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bochi-pink);
  padding: 10px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}

.top-bar span {
  color: white;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .top-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px;
  }

  .logbox {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 5px 0;
  }

  .logbox a {
    margin: 0;
    padding: 4px 8px;
    font-size: 0.9em;
    white-space: nowrap;
    border-radius: 4px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15);
  }

  #login, #newsign, .auth-btn {
    flex: 1 1 45%;
    margin: 5px 2.5%;
    box-sizing: border-box;
  }
}

.logbox a{
  margin: 10px;
}

.auth-btn {
  background-color: #e84118;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 12px;
}

.btn-ao {
  background-color: #479da0;
  color: white;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.auth-btn:hover {
  background-color: #c23616;
}

.top-right-auth {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 0.8rem; /* 작은 텍스트 */
  z-index: 1000; /* 배너 위에 올라오도록 */
}

.top-right-auth a {
  text-decoration: none;
  color: #2f3640;
  margin-left: 5px;
}

.top-right-auth a:hover {
  color: #40739e;
}