@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.kanit-regular {
  font-family: "Kanit", serif;
  font-weight: 400;
  font-style: normal;
}

body {
    font-family: "Kanit", serif;
    margin: 20px;
    color: white;
    background-color: #181424;
  }

  .login-body{
    font-family: "Kanit", serif;
    margin: 125px;
    color: white;
    background-color: #181424;
    display: flex;
    justify-content: center; /* Horizontally center the content */
    align-items: center;
  }

  h1{
   font-weight: 400;
   margin-top: 30px;
  }

  canvas {
    max-width: 73%;
    width: 1550px;
    color: white;
    margin: auto;
    margin-left: 0px;
    font-family: "Kanit", serif;
    font-weight: 700;
    cursor: pointer;
  }

  #crypto-select {
    color: white;
    font-family: "Kanit", serif;
    border: transparent;
    font-size: 20px;
    margin-left: 30px;
    background-color: black;
    padding: 10px;
  }

  .livecoinwatch-widget-5 {
    width: 100%;
    text-align: center;
    font-family: "Kanit", serif;
    margin-top: -10px;
  }

  .header{
    display: flex;
    flex: 1;
    width: 100%;
    height: 70px;
    align-items: center;
    margin-bottom: 20px;
    margin-top: -15px;
  }
  
  .footer{
    display: flex;
    flex: 1;
    position: absolute;
    bottom: 1;
    right: 0;
    width: 95%;
    height: 20px;
    font-weight: 300;
    text-align: center;
    justify-content: center;
    margin-top: -15px;
  }

  .footer-admin{
    display: flex;
    flex: 1;
    position: absolute;
    bottom: 1;
    right: 0;
    width: 95%;
    height: 20px;
    font-weight: 300;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
  }

  .logo_box {
    width: 130px;
    height: 50px;
    padding: 2;
    margin-right: 20px;
  }

  .logo_box img {
    width: 130px;
    height: auto;
    padding: 5;
    border-radius: 10px;
  }

  .action-button-withdraw {
    width: 150px;
    height: auto;
    color: #ddd;
    background-color: #059700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Kanit", serif;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    margin: 5px;
  }

  .action-button-deposit {
    width: 150px;
    height: auto;
    color: #ddd;
    background-color: #c50000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Kanit", serif;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    margin: 5px;
  }

  .action_button_admin {
    width: 150px;
    height: auto;
    color: #ddd;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Kanit", serif;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    margin-left: -100px;
  }

  .transaction-table th,
  .transaction-table td {
    width: 34%; /* or any desired width, ensure that columns are evenly divided */
    text-align: center; /* Optional: aligns text */
  }

  .hidden {
    display: none;
  }

  .right-side {
    margin-top: -15px;
  }

  .buttons {
    margin-left: 650px;
  }

  .balance {
    margin-left: 20px;
  }

  .balance-label-text {
    font-size: 18px;
  }

  .balance-label {
    font-size: 22px;
  }

  .userinfo {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 0;
    padding: 10px;
    padding-right: 25px;
  }

  .userinfo img {
    width: 35px;
    height: 35px;
    padding-right: 15px;
  }

  .userinfo .username {
    padding-right: 20px;
  }

  .main-content {
    display: flex;
    flex: 1;
    margin-top: -15px;
    margin-bottom: -10px;
  }

  .container {
    border: 2px solid #6e6e6e;
    border-radius: 15px;
    width: 500px;
    height: auto;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    margin-top: 25px;
  }

  .form-login {
    margin-bottom: 15px;
  }

  .container input {
    margin: 10px 0;
    width: 75%;
    padding: 10px;
    border: 1px solid #464646;
    border-radius: 5px;
    background-color: transparent;
    outline: none; /* Remove default outline */
    color: #fff;
    font-family: "Kanit", serif;
  }

  .container input:focus {
    border-color: #858585; /* Change border color when focused */
    background-color: transparent; /* Maintain transparent background on focus */
    color: #fff;
    font-family: "Kanit", serif;
  }

  .container button {
      padding: 10px 20px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-family: "Kanit", serif;
      margin-top: 10px;
      width: 150px;
  }
  .container button:hover {
      background: #0056b3;
  }

  .img_box img {
    width: 200px;
    height: auto;
    border: solid,1px, #4d4c4c81;
    border-radius: 15px;
    margin-top: 15px;
  }

  .heading-asserts {
    text-align: center;
    justify-content: center;
    margin-left: 30px;
    font-size: 20px;
  }

  .assert-table{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 530px;
    margin-left: 15px;
  }

.assert_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9b4; /* Light background */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 10px; /* Rounded corners */
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 180px; /* Card width */
    margin: 8px; /* Spacing between cards */
    margin-left: 15px;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assert_card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Slightly darker shadow */
}

.assert_img {
    width: 50px; /* Adjust size of the image */
    height: 50px; /* Ensure square dimensions */
    margin-bottom: 10px;
}

.assert_name {
    font-weight: bold;
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.assert_qty {
    font-size: 16px;
    color: #555;

}

.assert_rate {
    font-size: 16px;
    color: #28a745; /* Green for rates */
}

.assert_amount {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545; /* Red for amounts */
}

.tag {
  font-size: 12px;
  font-weight: bold;
  color: #464646;
}

.withdraw-deposit-table {
  margin: 10px auto;
  padding: 5px;
  width: 90%; /* Adjust table width */
  background-color: #181424; /* Light background */
  border-radius: 10px; /* Rounded edges */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  overflow-x: auto; /* Ensure table is scrollable on small screens */
}

.transaction-table {
  width: 100%;
  border-collapse: collapse; /* Remove gaps between cells */
  text-align: center; /* Align text to the left */
  font-family: 'Kanit', sans-serif;
  border-radius: 10px;
  margin-top: -18px;
}

.transaction-table thead {
  background-color: #707c88; /* Header background color */
  color: #fff; /* Header text color */
}

.transaction-table th, .transaction-table td {
  padding: 12px 15px; /* Cell padding */
  border: 1px solid #ddd; /* Border for table cells */
}

.transaction-table tr:nth-child(even) {
  background-color: #181424; /* Alternate row colors */
  color: #181424;
}

.transaction-table tbody tr:hover {
  background-color: #181424; /* Row highlight on hover */
}

.transaction-table td {
  color: #ffffff; /* Cell text color */
}

.transaction-table td:nth-child(3) {
  font-weight: bold; /* Highlight the status column */
}

.transaction-table td:nth-child(3):after {
  content: ''; /* Placeholder for custom icons or statuses */
  margin-left: 8px;
}

.load-more {
  padding: 5px 5px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Kanit", serif;
  margin-top: 10px;
  width: 150px;
}

.popup-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black with opacity */
}

.popup-content {
  background-color: #555;
  margin: 15% auto; /* 15% from top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
  text-align: center;
}

.popup-content img {
  width: 50px;
  height: 50px;
  justify-content: center;
  text-align: center;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.popup-content h2 {
  margin-bottom: 20px;
  color: red;
}

.popup-content p {
  margin: 10px 0;
  font-family: 'Kanit', sans-serif;
  word-wrap: break-word; /* Ensures text breaks into the next line */
  white-space: normal;   /* Allows the text to wrap */
  overflow-wrap: break-word; /* For compatibility */
}

