

 
 .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 2;
}

.top-bar img {
  height: 30px;
}

.top-bar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px; 
}


.globe-button{
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 0;
  position: relative; 
  top: 2px;           
}

 /* 가맹점 모드 전환 버튼 스타일 */
  .franchise-button {
      font-size: 18px;
      background: none;
      border: none;
      cursor: pointer;
      color: #333;
      padding: 0;
      position: relative;
      top: 2px;
      transition: color 0.2s ease;
  }
  
   .franchise-button:hover {
            color: #007bff;
        }

        .franchise-button.active {
            color: #28a745;
        }
  

.lang-menu {
  position: absolute;
  top: 56px;
  right: 100px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  display: none;
  flex-direction: column;
  z-index: 30;
  width: 120px;
}

.lang-menu button {
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.lang-menu button:last-child {
  border-bottom: none;
}

.lang-menu button:hover {
  background-color: #f0f0f0;
}

    .hamburger {
      font-size: 24px;
      background: none;
      border: none;
      cursor: pointer;
    }

    .container {
      max-width: 700px;
      margin: 20px auto 0;
      padding: 0 20px;
      padding-bottom: 80px; /
    }

   .login-form {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .login-form input[type="text"],
  .login-form input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s ease;
  }

  .login-form input:focus {
    border-color: #007bff;
  }

  .checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-top: -6px;
    margin-left: 5px;
    margin-bottom: 16px;
  }

  .checkbox-wrapper input[type="checkbox"] {
    margin: 0;
    margin-right: 8px;
    transform: scale(1.1);
  }

  .checkbox-wrapper label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }

  .basic-form {
      background: white;
      padding: 24px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      margin-bottom: 10px;
    }

    .basic-form input {
      width: 100%;
      padding: 14px;
      margin-bottom: 5px;
      font-size: 15px;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
      outline: none;
      transition: border 0.2s ease;
    }

    .basic-form input:focus {
      border-color: #007bff;
    }
  

  /* 사이드 메뉴 */
.side-menu {
  position: fixed;
  
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  
}

.side-menu.open {
  transform: translateX(0);
}

.side-header {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
  
}

.side-header img {
  width: 120px;
  
}
.profile-box {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #f9f9f9;
  font-size: 11px;
  color: #333;
  line-height: 1.6;
}

.profile-box .user-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-box .nickname {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.profile-box .balance {
  margin-bottom: 8px;
}


.profile-box > span:first-child {
    display: block;
    margin-top: -20px;
}

.profile-box .highlight {
  color: #0070f3;
  font-size:9pt;
}


  /* 버튼 컨테이너 스타일 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* 프로필 버튼 기본 스타일 */
.profile-btn {
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    max-width: 80px;
}

.profile-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.username-color {
  color: #00bcd4;
  font-weight: 700;
}
.period-line {
  padding-left: 63px; 
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.side-menu ul li {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.side-menu ul li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.menu-list li a {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
}

.menu-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #00bcd4; /* 포인트 색상 */
  border-radius: 50%;
  margin-right: 10px;
}

    /* 배경 어둡게 처리 */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: none;
      z-index: 5;
    }

    .overlay.show {
      display: block;
    }
    
    .login-button  {
      width: 100%;
      padding: 14px;
      font-size: 16px;
      font-weight: bold;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    .login-form button:hover {
      background-color: #0056b3;
    }
    
.signup-button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 0px;
}

    
    
.signup-button {
  width: 100%;
  padding: 5px;
  height:35px;
  font-size: 14px;
  background-color: #e0e0e0; 
  color: #333;              
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.2s ease;
}

.signup-button.richbot {
  width: 100%;
}


.signup-button:hover {
  background-color: #d5d5d5; 
}
 
  .bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 20;
  }

  .bottom-menu-btn {
    background: none;
    border: none;
    outline: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    padding: 6px 0;
    transition: color 0.2s ease;
  }

  .bottom-menu-btn i {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .bottom-menu-btn:hover,
  .bottom-menu-btn:focus {
    color: #007bff;
  }
  
    .bottom-menu-btn.active {
    color: #007bff;
    font-weight: bold;
  }
  
  
  
  
  .ok-button {
	 width: 100%;
      padding: 14px;
      font-size: 16px;
      font-weight: bold;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }    
    
    
    .ok-button:hover {
      background-color: #0056b3;
    }
    
 	.stop-button {
	 width: 100%;
      padding: 14px;
      font-size: 16px;
      font-weight: bold;
      background-color: #f26830;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }    
    
    .stop-button:hover {
      background-color: #f85614;
    }    

    .back-button {
      background-color: #e0e0e0;
      color: #333;
    }

    .back-button:hover {
      background-color: #d5d5d5;
    }
    
      .status-bar {
		    position: relative;
		    margin-top: 10px;
		    height: 8px;
		    width: 100%;
		    background-color: #e0e0e0;
		    border-radius: 4px;
		    overflow: hidden;
		}
		
		.status-bar-animation {
		    position: absolute;
		    top: 0;
		    left: 0;
		    height: 100%;
		    width: 30%; 
		    background-color: #007bff; 
		    border-radius: 4px;
		    animation: loading 1.5s linear infinite;
		}
		
		@keyframes loading {
		    0% {
		        left: -30%;
		    }
		    50% {
		        left: 35%; 
		    }
		    100% {
		        left: 100%;
		    }
		}
      
      
.tips-box {
	margin-top: 24px;
    padding: 5px 4px;
    background-color: #e7f0ff;
    border: 1px solid #003366;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.25);
    color: #003366;
    font-size: 11px;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
    
    
}

.tips-box > .tips-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tips-box > .tips-icon {
  font-weight: 700;  margin-bottom: 5px; display: flex; align-items: center; gap: 8px;
    font-size: 14px;
}

.tips-box > ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.okx-partner-banner {
  background-color: black;
  color: #00aaff;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-top: 2px solid #00aaff;
  border-bottom: 2px solid #00aaff;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.okx-partner-banner .okx-logo {
  height: 20px; /* 로고 높이 조절 */
  display: block;
}


    .page-title-bar {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
    padding: 5px 10px;
    font-size: 15px;
    color: #555;

    /* flex 박스로 좌우 정렬 */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    font-weight: 500;
  }

  .breadcrumb .home {
    margin-left: 15px;
  }

  .breadcrumb .separator {
    margin: 0 8px;
    color: #888;
  }

  .breadcrumb .current {
    color: #222222;
    font-weight: bold;
  }

  /* 오른쪽 상태 영역 */
  .status-area {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px; /* 필요시 조절 */
  }

  .status-text {
    font-size: 14px;
    color: #007bff;
    font-weight: 600;
    white-space: nowrap;
  }

  .progress-bar {
    width: 80px;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }
	.progress-fill {
	  width: 50%; /* 진행률에 따라 변경 */
	  height: 100%;
	  background: #007bff;
	  animation: progressAnim 2s linear infinite;
	  border-radius: 4px;
	}
	
	.progress-fill.paused {
	  animation-play-state: paused;
	  background: #f26830; /* 멈춤 시 주황색 혹은 원하는 색상 */
	}

  @keyframes progressAnim {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(200%);
    }
  }

.form-group {
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .form-group label {
      display: block;
      margin-bottom: 6px;
      font-weight: bold;
      font-size: 14px;
      color: #333;
      text-align:left;
    }

    .form-group input,
    .form-group select {
      width: 100%;
      padding: 12px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
    }

    .form-actions {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }

    .form-actions button {
      flex: 1;
    }
    
    /* 기존 스타일에 추가할 CSS */
.trade-header img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
  vertical-align: middle;
}

.trade-header {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.trade-header span {
  display: flex;
  align-items: center;
}
    
    
  