/* 테마 스위치 스타일 */
.theme-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  width: 100%;
}

.theme-label {
  font-family: "Pretendard", "Pretendard-Medium", sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  margin-right: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e4e4e4;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #5865f2;
}

input:focus + .slider {
  box-shadow: 0 0 1px #5865f2;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* 다크 모드 스타일 */
body.dark-mode .dashboard-main {
  background-color: #151519;
}

body.dark-mode .dashboard-main .div {
  background-color: #151519;
}

body.dark-mode .dashboard-main .frame {
  background-color: #26262e;
  box-shadow: inset 1px 1px 1px #ffffff0d, inset -1px -1px 1px #00000059;
}

body.dark-mode .dashboard-main .text-wrapper,
body.dark-mode .dashboard-main .p,
body.dark-mode .dashboard-main .text-wrapper-3,
body.dark-mode .dashboard-main .text-wrapper-4 {
  color: #ffffff;
}

body.dark-mode .dashboard-main .checkmark {
  background-color: #2c2c34;
  border-color: #3a3a44;
}

body.dark-mode .dashboard-main .ellipse {
  background-color: #ffffff;
}

body.dark-mode .theme-label {
  color: #ffffff;
}

/* 다크 모드 서버 선택 페이지 스타일 */
body.dark-mode .server-container {
  background-color: #26262e;
  box-shadow: inset 1px 1px 1px #ffffff0d, inset -1px -1px 1px #00000059;
}

body.dark-mode .server-title,
body.dark-mode .server-name {
  color: #ffffff;
}

body.dark-mode .server-description,
body.dark-mode .loading-text,
body.dark-mode .user-name,
body.dark-mode .logout-button {
  color: #b0b0b0;
}

body.dark-mode .server-item {
  background-color: #2c2c34;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.dark-mode .server-item:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .server-item.selected {
  background-color: #5865f2;
}

body.dark-mode .logout-button:hover {
  background-color: rgba(88, 101, 242, 0.2);
}

/* 다크모드에서의 드롭다운 스타일 */
body.dark-mode .profile-dropdown {
  background-color: #2c2c34;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-item {
  color: #b0b0b0;
}

body.dark-mode .dropdown-item:hover {
  background-color: rgba(88, 101, 242, 0.2);
  color: #5865f2;
}

body.dark-mode .dropdown-divider {
  background-color: #3a3a44;
}