* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
a {
    text-decoration: none;
    color: #00bfff;
}
body {
  background: #f4f4f4;
  padding-bottom: 90px;
  display: flex;
  justify-content: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    background-color: #00bfff;
    color: #fff;
}
.header a {
	  color: #fff;
}

.logo {
  font-weight: bold;
  font-size: 18px;
}
.logo img {
    height: 40px;
}

.login a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.main {
  padding: 15px;
}
.main ul {
    margin-left: 20px;
}
.wrap {
  width: 100%;
  max-width: 720px;
}

.product {
    display: flex;
    margin-bottom: 12px;
    padding: 10px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: relative;
}
.product img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  margin-right: 10px;
}

.info h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.price {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 14px;
}

.quantity {
  display: flex;
  align-items: center;
}

.quantity button {
  width: 30px;
  height: 30px;
  border: none;
  background-color: #ddd;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}

.quantity input {
  width: 40px;
  text-align: center;
  margin: 0 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 30px;
}

.buy-btn {
  width: 100%;
  background-color: #00b894;
  color: white;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}
nav.bottom-menu {
  max-width: 720px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  z-index: 999;
  font-size: 12px;
}

.bottom-menu a {
  text-align: center;
  text-decoration: none;
  color: #333;
  flex: 1;
}

.bottom-menu i {
  font-size: 18px;
  display: block;
  margin-bottom: 3px;
}

.bottom-menu .home-icon {
  position: relative;
  top: 0px;
  flex: none;
}

.bottom-menu .circle {
  background-color: #00bfff;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  padding-top: 8px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.bottom-menu .circle i {
  font-size: 20px;
  margin-bottom: 2px;
}

.bottom-menu .circle span {
  font-size: 10px;
  display: block;
  margin-top: 2px;
}


.quantity-options {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.qty-option {
  padding: 6px 10px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.qty-option.active {
  background-color: #00b894;
  color: white;
  border-color: #00b894;
}

.cart-summary {
  margin-top: 16px;
  font-weight: bold;
  font-size: 16px;
}
.wrap_subtotal {
    right: 10px;
    position: absolute;
    font-weight: bold;
    color: #e91e63;
    text-align: right;
}

.qty-option.remove {
  background: #ccc;
  font-weight: bold;
}
.chietkhau {
    color: #999;
    font-weight: normal;
    font-size: 90%;
}







.name {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  color: #2c3e50;
}

.list_key {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.list_key li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.list_key a {
  display: block;
  padding: 10px 15px;
  background-color: #f0f4f8;
  color: #34495e;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  width:100%;
}

.list_key a.sll {
    font-size: 12px;
    background-color: #ccc;
    width: 78px;
    padding: 10px 0px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
	font-weight:bold;
}

.list_key a:hover {
  background-color: #dbe9f5;
  color: #2c3e50;
}

.key-form {

}

.key-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #2d3436;
    font-size: 80%;
}
.key-form select,
.key-form input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.key-form input[type="number"] {
	max-width:200px;
}
.key-form button {
  background-color: #3498db;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.key-form button:hover {
  background-color: #2980b9;
}



.main {
  background: #fff;
  padding: 15px;
  border: 1px solid #ccc;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-radius: 8px;
  margin:15px 0px;
}

.keybox-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2c3e50;
}

.keybox-tab-menu {
  display: flex;
  margin-bottom: 15px;
}

.keybox-tab {
  flex: 1;
  padding: 8px 12px;
  background: #f1f1f1;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  text-align:center;
}
.exported-time {
  font-size: 0.8em;
  color: #28a745;
}
.keybox-tab.active {
    background: #ffffff;
    border-top: 2px solid #3498db;
    color: #3498db;
}

.keybox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.keybox-index {
  font-weight: bold;
}

.keybox-value {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
}

.keybox-btn {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.keybox-copy-btn {
  background-color: #ecf0f1;
  color: #2c3e50;
}

.keybox-copy-btn:hover {
  background-color: #d0d7db;
}

.keybox-export-btn {
  background-color: #3498db;
  color: white;
}



.loading {
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s ease;
    filter: blur(2px);
}

.post-list.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #ccc;
  border-top-color: #2e7d32;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  z-index: 10;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



.log-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.log-item {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background: #f9f9f9;
}
.log-item:hover {
  background: #e6f7ff;
}

.key-list-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 15px;
}
.key-list-area {
  width: 100%;
  height: 200px;
  resize: none;
  padding: 10px;
  font-family: monospace;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.copy-btn {
  padding: 10px;
  background: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.copy-btn:hover {
  background: #1b5e20;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    justify-content: space-between;
	margin-bottom:20px;
}
.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    text-align: center;
    padding: 10px;
    width: 100%;
    background-color: #f9f9f9;
}
.woocommerce-MyAccount-navigation ul li.is-active {
    border-bottom:2px solid #3498db;
   background-color:#fff;
}
.woocommerce-MyAccount-navigation-link--edit-address,
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--customer-logout {
    display: none;
}
.page-id-100  div#customer_login .col-1,
.page-id-8  div#customer_login .col-2 {
    display: none;
}
.page-id-100  div#customer_login .col-2,
.page-id-8  div#customer_login .col-1 {
    width:100%;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	width:100% !Important;
	float:none !Important;
}
.woocommerce-account .woocommerce-MyAccount-navigation  {
	display:none !Important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    color: #222 !Important;
    background-color: #efefef !Important;
}
.the_content {
	padding:20px 0px;
}
.the_content ul,
.the_content h1,
.the_content h2,
.the_content h3,
.the_content h4,
.the_content h5,
.the_content h6,
.the_content img,.the_content p,.the_content div {
	margin-bottom:15px;
}


.woocommerce ul.order_details li {
    margin-right: 1.5em !Important;
    padding-right: 1.5em !Important;
}
.woocommerce-order-details {
	margin-top:25px;
}

.nk_order .woocommerce-order-details  tfoot, 
.nk_order .woocommerce-order-details__title,
.nk_order section.woocommerce-customer-details {
    display: none !important;
}

.woocommerce-thankyou-order-received {
    margin-bottom: 20px;
    background-color: #ececec;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}


a.back {
    background-color: #ececec;
    font-size: 12px;
    font-weight: bold;
    padding: 0px 15px;
    color: #222;
    height: 25px;
    display: inline-block;
    margin-bottom: 20px;
    line-height: 25px;
    border-radius: 5px;
}

header span.price {
    font-size: 13px;
    background-color: orange;
    padding: 2px 3px;
    border-radius: 5px;
    margin: 0 5px;
}
.bottom-menu a.active {
    color: #3498db;
}







.fullpage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);   
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-content {
  text-align: center;
  color: #222;
  font-size: 20px;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #4caf50;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.success-text {
  font-weight: bold;
  font-size: 22px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}







.tai_khoan input,
.rut-tien-box  input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.submit,
.rut-tien-box button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}
.rut-tien-box button:hover {
    background: #005c8a;
}
#nk_chietkhau_log  {
	margin-top:20px;
}
#nk_chietkhau_log table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
	
}
#nk_chietkhau_log th, #nk_chietkhau_log td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
#nk_chietkhau_log th {
    background-color: #f3f3f3;
}

tr.choduyet {
    font-weight: bold;
    background-color: #f9f9f9;
}