/* 다크 테마 기본 스타일 */
body {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #1a1a1a);
  color: #ffffff;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

.wrap {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #1a1a1a);
  color: #ffffff;
}

.leftbox {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  height: 100vh !important;
  width: 320px !important;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(25, 25, 25, 0.98)) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-right: 0.5px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2) !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  z-index: 9999 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.leftbox .logobox {
  height: 65px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.95));
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
  position: relative;
  color: #ffffff;
}

.leftbox .logobox a {
  display: flex;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
}

.menubox {
  height: calc(100vh - 65px);
  overflow: auto;
  padding-bottom: 20px;
  background: transparent;
}

.menubox ul p {
  font-size: 1.25em;
  background: transparent;
  font-weight: 600;
  color: #ffffff;
}

.menubox ul li {
  display: block;
  color: #ffffff;
  padding: 18px 30px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95));
  backdrop-filter: blur(10px);
  margin: 8px 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.menubox ul li:hover {
  background: linear-gradient(135deg, rgba(55, 55, 55, 0.95), rgba(70, 70, 70, 0.95));
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.menubox ul li a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menubox ul li a:hover {
  color: #64b5f6;
}

.submenu {
  background: rgba(26, 26, 26, 0.9);
  border-radius: 10px;
  margin: 0 15px 10px 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submenu.active {
  height: auto;
  padding: 10px 0;
}

.submenu li {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0;
  padding: 0;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu li a {
  color: #e0e0e0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 10px;
  font-weight: 400;
}

.submenu li a:hover {
  color: #64b5f6;
  background: rgba(100, 181, 246, 0.1);
  transform: translateX(8px);
}

.rightbox {
  float: right;
  width: calc(100% - 360px);
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #1a1a1a);
  color: #ffffff;
  margin-top: 70px;
  margin-left: 360px;
}

.content {
  margin-top: 70px;
  padding: 10px;
  position: relative;
  padding-bottom: 92px;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #1a1a1a);
  color: #ffffff;
}

.card {
  position: relative;
  padding: 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 5px;
  color: #ffffff;
}

.header {
  height: 70px !important;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(28, 28, 28, 0.98)) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  position: fixed !important;
  top: 0 !important;
  left: 320px !important;
  right: 0 !important;
  width: calc(100vw - 320px) !important;
  z-index: 99999 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

p, span, div {
  color: #e0e0e0;
}

a {
  color: #64b5f6;
}

a:hover {
  color: #90caf9;
}

.menu-item-container p {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  margin: 0 !important;
  flex: 1 !important;
  text-align: left !important;
}

.menu-item-container {
  color: #ffffff !important;
}

.menu-item {
  color: #ffffff !important;
}

.menu-item span {
  color: #ffffff !important;
}

.menu-item img {
  filter: brightness(0) invert(1);
}

.login_box {
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.login_box li {
  color: #ffffff !important;
  display: flex;
  align-items: center;
}

.login_box li p {
  color: #e0e0e0 !important;
}

.login_box li span {
  color: #64b5f6 !important;
  font-size: 20px;
}

.login_box li i.fa {
  margin-right: 5px;
  margin-left: 10px;
  color: #64b5f6 !important;
}

#dashboard-menuitem {
  width: 100%;
  color: #ffffff !important;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.2), rgba(144, 202, 249, 0.2)) !important;
}

#dashboard-menuitem > div {
  display: flex;
  column-gap: 10px;
  align-items: center;
  font-weight: 600;
  color: #ffffff !important;
}

.gradientbg1 {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95)) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradientbg1 .plan-title {
  color: #ffffff !important;
  font-weight: bold;
}

.gradientbg1 .tx-r {
  color: #ffffff !important;
}

.gradientbg1 .line {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.gradientbg2 {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95)) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradientbg2 .plan-title {
  color: #ffffff !important;
}

.gradientbg2 .line {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.gradientbg3 {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95)) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradientbg4 {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95)) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-button {
  color: #ffffff !important;
  background: linear-gradient(135deg, #64b5f6, #90caf9) !important;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.link-button:hover {
  background: linear-gradient(135deg, #90caf9, #64b5f6) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
}

.plan-button {
  color: #ffffff !important;
  background: linear-gradient(135deg, #34aa24, #4caf50) !important;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-button:hover {
  background: linear-gradient(135deg, #4caf50, #34aa24) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 170, 36, 0.3);
}

.currency-container {
  color: #ffffff !important;
}

.currency-container span {
  color: #64b5f6 !important;
}

.overall-container {
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95)) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

.tablebox {
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(60, 60, 60, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.theadbox {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.2), rgba(144, 202, 249, 0.2)) !important;
  color: #ffffff !important;
}

.theadbox div.th {
  color: #ffffff !important;
}

.tbodybox .tr {
  color: #e0e0e0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tbodybox .tr:hover {
  background: rgba(100, 181, 246, 0.1) !important;
}

.tbodybox .tr .td {
  color: #e0e0e0 !important;
}

.input {
  background: rgba(45, 45, 45, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 0.6em 1em;
  border-radius: 20px;
  width: 100%;
}

.input:focus {
  background: rgba(60, 60, 60, 0.9) !important;
  border: 1px solid #64b5f6 !important;
  color: #ffffff !important;
}

.select {
  background: rgba(45, 45, 45, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 0.6em 1em;
  border-radius: 20px;
  width: 100%;
}

input[type="date"] {
  background: rgba(45, 45, 45, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.divider {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.horizontal-line {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.underline {
  border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.fa-chevron-circle-right {
  color: #64b5f6 !important;
}

@media only screen and (max-width: 800px) {
  .leftbox {
    position: fixed;
    left: -320px;
    z-index: 999;
    width: 320px;
    overflow: scroll;
    transition: left 0.3s ease;
  }
  
  .leftbox.active {
    left: 0;
  }
  
  .rightbox {
    width: 100vw;
    margin-left: 0;
    margin-top: 70px;
    float: none;
  }
  
  .content {
    margin-top: 70px;
    margin-left: 0;
    width: 100%;
  }
  
  .header {
    left: 0;
    width: 100vw;
  }
}

@media only screen and (max-width: 600px) {
  .rightbox {
    width: calc(100%);
    margin-left: 0;
    margin-top: 70px;
    padding: 10px;
    float: none;
  }
  
  .content {
    padding: 10px;
    width: 100%;
  }
  
  .card {
    margin-bottom: 10px;
    padding: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .rightbox {
    width: 100vw;
    margin-left: 0;
    margin-top: 70px;
    padding: 5px;
    float: none;
  }
  
  .content {
    padding: 5px;
    width: 100%;
  }
  
  .card {
    margin-bottom: 8px;
    padding: 12px;
  }
}
