/* Global Reset & Windows System Font Stack */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,body {
    overflow-y: hidden !important;
}

body {
  font-family: "Segoe UI", "Malgun Gothic", "맑은 고딕", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: white;
  font-weight: 400;
  background: #50a3a2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


a {
    text-decoration: none;
    color: inherit;
}
/* Placeholders - Windows 10 Chrome/Edge compatible */
::-webkit-input-placeholder {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}
:-moz-placeholder {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-weight: 400;
}
::-moz-placeholder {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-weight: 400;
}
:-ms-input-placeholder {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* Wrapper Layout & Background Gradient */
.wrapper {
  background: #50a3a2;
  background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  background: -moz-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  background: -o-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
  
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 420px;
  margin-top: -210px;
  overflow: hidden;
}

.wrapper.adm {
    background: #356464;
}

.wrapper.adm .container {
    padding: 40px 0;
}

.wrapper.adm form {
    padding: 20px 0 0 0;
}

.wrapper.form-success .container h1 {
  transform: translateY(85px);
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 70px 0;
  height: 420px;
  text-align: center;
	z-index: 9999;
	position: relative;  
  
}

/* Title Font Optimized for Korean */
.container h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.5px;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  margin-bottom: 5px;
}

/* Form Styles */
form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

form input,form select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  outline: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.2);
  width: 260px;
  border-radius: 4px;
  padding: 12px 15px;
  margin: 0 auto 12px auto;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: white;
  transition-duration: 0.25s;
  font-family: inherit;
}

form select {
	COLOR:#333;
}

form select.is-selected {
  color: #FFFFFF !important;
}

form input:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

form input:focus {
  background-color: #AAA;
  width: 300px;
  color: #333;
  font-weight: 600;
  font-size:1.2em;
}

form button {
  appearance: none;
  -webkit-appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 12px 15px;
  color: #38b382;
  border-radius: 4px;
  width: 260px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition-duration: 0.25s;
  font-family: inherit;
}

form button:hover {
  background-color: rgb(245, 247, 249);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Background Animated Bubbles */
.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
  left: 10%;
}

.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  animation-delay: 2s;
  animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
  left: 25%;
  animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
  left: 70%;
}

.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  animation-delay: 3s;
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  animation-delay: 15s;
  animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  animation-delay: 11s;
}

/* Keyframe Animations */
@-webkit-keyframes square {
  0% { transform: translateY(0); }
  100% { transform: translateY(-700px) rotate(600deg); }
}

@keyframes square {
  0% { transform: translateY(0); }
  100% { transform: translateY(-700px) rotate(600deg); }
}


/* 하단 반투명 정보 박스 스타일 */
.info {
  margin: 20px auto 0 auto;
  width: 260px;
  padding: 12px 15px;
  background-color: rgba(0, 0, 0, 0.15); /* 반투명 검은색 배경 */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  text-align: center;
  backdrop-filter: blur(4px); /* 배경 블러 효과 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info .cur_time {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-family: "Consolas", "Courier New", monospace, sans-serif; /* 숫자가 떨리지 않게 모노스페이스 계열 권장 */
}

.info .cur_ip {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  letter-spacing: 0.3px;
}

