/* 登录模态框样式 */
.login-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  top: 10%;
}

.login-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 6px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.login-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.login-close:hover,
.login-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.login-tabs {
  display: flex;
  margin-bottom: 20px;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.login-tab.active {
  border-bottom: 2px solid #ff6f61;
  color: #ff6f61;
}

.login-form-container {
  display: none;
}

.login-form-container.active {
  display: block;
}

.rd-navbar-user {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1000;
  min-width: 150px;
}

.user-dropdown.show {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 8px 15px;
  color: #151515;
  text-decoration: none;
}

.user-dropdown a:hover {
  background-color: #f5f5f5;
}