body {
    background-color: #f4f7fa;
    font-family: Arial, sans-serif;
    margin: 0;/* Ensure the correct file extension */
    background-size: cover;
    background-position: flex;
    background-repeat: no-repeat; /* Prevent tiling */
}

/* Navbar - ပုံထဲကအတိုင်း အနီရဲရဲနဲ့ အဖြူရောင်စာသား */
.navbar {
    background-color: rgb(246, 5, 5); /* Red background */
    padding: 20px 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.nav-link i {
    font-size: 18px;
    
}

.nav-link:hover, .nav-link.active {
    color: #000000 !important; /* Bootstrap Success Green */
    text-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: white !important;
}

/* Hover လုပ်တဲ့အခါနဲ့ Active ဖြစ်တဲ့အခါ Success Green အရောင်ပြောင်းမယ် */
.nav-link:hover, .nav-link.active {
    color: #000000 !important; /* Bootstrap Success Green */
    text-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}
.dropdown-menu {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: black;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: rgb(246, 5, 5);
}

/* Login Container - ပုံထဲကအတိုင်း အဖြူရောင် box လေးနဲ့ Shadow */
.login-container {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px; /* Updated border-radius */
  background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Updated background */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* ဘေးက Shadow နုနုလေး */
  border: none;
}


/* Leading text (ဘယ်ဘက်က စာသားတွေ) */
.text-left-custom h2 {
  color: #1e293b;
  font-size: 2.2rem;
}

.list-unstyled li {
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .text-left-custom {
      text-align: center;
      padding-left: 0;
      margin-bottom: 40px;
  }
  .login-container {
      padding: 30px 20px;
  }
}
/* Carousel Start */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}
@media (max-width: 700px) {
  .carousel-caption h1 {
      font-size: 24px !important; /* ဖုန်းမှာ ခေါင်းစဉ် အရွယ်အစား */
  }
  .carousel-caption p {
      font-size: 14px !important; /* ဖုန်းမှာ စာသား အရွယ်အစား */
      margin-bottom: 20px !important;
  }
  .carousel-item img {
      height: 450px !important; /* ဖုန်းမှာ Slide အမြင့်ကို လျှော့ချခြင်း */
  }
}
  
.form-control { 
    border: 1px solid #dc3545; /* Single-layer border */
    border-radius: 8px; /* Rounded corners */
    padding: 12px;
}
.btn-primary { border-radius: 10px; padding: 12px; font-weight: bold; background: #0d6efd; border: none; }
.btn-primary:hover { background: #0b5ed7; }
.text-left-custom { padding-left: 20px; }

/* Style for the visibility icon */
#togglePassword {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
}

/* Hover effect for the visibility icon */
#togglePassword:hover {
    color: #dc3545;
}

/* Focus state for the password input */
.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #dc3545; /* Red border on focus */
}

/* Dashboard Cards (ပုံထဲကအတိုင်း Shadow နဲ့ ဝိုင်းဝိုင်းလေး) */
.stat-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s;
  border: 1px solid #f1f5f9;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 40px;
  color: #f60505;
  margin-bottom: 15px;
  display: inline-block;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
}
  /* signin signup end */
  /* service */
  .service-container {
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  .search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  .search-bar input {
    flex: 1;
    border: 1px solid #007bff;
    border-radius: 5px;
    padding: 10px;
  }
  .search-bar button {
    margin-left: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: center;
  }
  th {
    background-color: #007bff;
    color: white;
  }
  .btn-view {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .btn-view:hover {
    background-color: #0056b3;
  }
  /*service end*/
  /* payment */
  .bank-card { background: white; padding: 20px; border-radius: 10px; margin-bottom: 20px; border-left: 5px solid #ff0000; }
        .payment-form { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        input, button {padding: 10px; border-radius: 5px; border: 1px solid #ddd; }
        button { background: #1877f2; color: white; cursor: pointer; font-weight: bold; }
.payment-frame {
    background-color: #0a8dea; /* Blue background */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Padding inside the frame */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.bank-card {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
  /* payment end */
  /* order */
  .main-container { max-width: 800px; margin: 20px auto; background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        
        .nav-balance-btn { background: #3b82f6; color: white !important; border-radius: 8px; font-weight: 600; padding: 8px 16px; border: none; }
        .platform-box { border: 1px solid #e2e8f0; padding: 15px; border-radius: 10px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.3s; background: #fff; }
        .platform-box.active { border-color: rgb(246, 5, 5); background: #eff6ff; }
        .icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-bottom: 30px; }
        
        /* Dashboard Cards */
        .stat-card { background: #fff; border-radius: 15px; padding: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.03); height: 100%; border: 1px solid #eee; }
        .stat-card i { font-size: 2.5rem; color: rgb(246, 5, 5); margin-bottom: 15px; }
        
        /* Colors */
        .fb-icon { color: #1877f2; } .tk-icon { color: #000; } .ig-icon { color: #e4405f; } .ttv-icon { color: #9146FF; }
        .li-icon { color: #0A66C2; } .wa-icon { color: #25D366; } .th-icon { color: #000000; }
        .tw-icon { color: #1DA1F2; }
        .yt-icon { color: #ff0000; } .tg-icon { color: #0088cc; } .cv-icon { color: #00C4CC; }
        
        .price-box { background: #f1f5f9; padding: 15px; border-radius: 8px; font-weight: bold; color: rgb(246, 5, 5); font-size: 22px; border-left: 5px solid rgb(246, 5, 5); text-align: center; }
        .btn-submit { background: rgb(246, 5, 5); color: #fff; border: none; width: 100%; padding: 16px; border-radius: 10px; font-weight: bold; font-size: 18px; }
        body {
          font-family: 'Segoe UI', sans-serif;
          margin: 0;
          padding: 0;
      }

      .container {
          max-width: 1100px;
          margin: 0 auto;
          padding: 10px;
      }

      .filter-buttons {
          display: flex;
          justify-content: center;
          gap: 10px;
          margin: 20px 0;
          flex-wrap: wrap;
      }

      .filter-buttons button {
          background-color: #fff;
          border: 1px solid #004b8d;
          color: #004b8d;
          padding: 8px 15px;
          border-radius: 10px;
          font-weight: bold;
          transition: 0.3s;
      }

      .filter-buttons button.active {
          background-color:rgb(246, 5, 5);
          color: #fff;
      }

      .search-bar {
          display: flex;
          justify-content: center;
          margin-bottom: 20px;
      }

      .search-bar input {
          width: 40%;
          padding: 10px;
          border-radius: 10px 0 0 10px;
          border: 1px solid #ddd;
      }

      .search-bar button {
          padding: 10px 20px;
          background: rgb(246, 5, 5);
          color: #fff;
          border: none;
          border-radius: 0 10px 10px 0;
      }

      .table-container {
          background: #fff;
          border-radius: 15px !important;
          overflow-x: auto;
          padding: 20px;
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      table {
          width: 100%;
          border-collapse: collapse;
      }

      th {
          background-color: rgb(246, 5, 5);
          color: #fff;
          white-space: nowrap;
      }

      th, td {
          padding: 12px;
          text-align: center;
          border-bottom: 1px solid #eee;
      }

      .status-badge {
          padding: 5px 10px;
          border-radius: 20px;
          font-size: 12px;
          font-weight: bold;
      }

      .status-pending {
          background: #fff3cd;
          color: #856404;
      }

      .status-completed {
          background: #d4edda;
          color: #155724;
      }

      .status-processing {
          background: #cce5ff;
          color: #004085;
      }
  /* order end */

  /* Account Page Custom Styles */
.account-card { background: #fff; border-radius: 12px; border: 1px solid #eef2f7; box-shadow: 0 4px 15px rgba(0,0,0,0.03); padding: 30px; margin-bottom: 30px; }
.account-title { font-size: 22px; font-weight: 800; color: #1e293b; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.form-group label { font-weight: 700; color: #334155; margin-bottom: 8px; font-size: 14px; }
.form-input-custom {
    border-radius: 8px; /* Rounded corners */
    padding: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input-custom:focus {
    border-color: #ff0000; /* Border color on focus */
    box-shadow: 0 0 5px rgb(246, 5, 5); /* Optional focus effect */
}
.btn-update { background: #3b82f6; color: #fff; border: none; width: 100%; padding: 12px; border-radius: 10px; font-weight: bold; transition: 0.3s; }
.btn-update:hover { background: #2563eb; transform: translateY(-1px); }
.btn-secondary-custom { background: #64748b; color: #fff; border: none; padding: 8px 15px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 15px; }

/* support page */
.form-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e6ed;
}
.form-label { font-weight: 600 !important; color: #000000 !important; margin-bottom: 8px; font-size: 14px; }
.form-select, .form-control {
  border: 1.5px solid  rgb(246, 5, 5);
  border-radius: 12px;
  padding: 12px;
  color: #000000;
}
.btn-submit {
  background: linear-gradient(to bottom, #1d8cf8, #004b8d);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: bold;
  width: 100%;
  margin-top: 10px;
  transition: 0.3s;
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-2px); }
.attachment-label { font-size: 13px; color: #004b8d; cursor: pointer; }

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid layout */
    gap: 20px; /* Space between boxes */
    margin-top: 30px; /* Spacing above the grid */
}

.platform-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Padding inside the box */
    border: 1px solid #e2e8f0; /* Light gray border */
    border-radius: 12px; /* Rounded corners */
    background-color: #ffffff; /* White background */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth hover effect */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

.platform-box.active {
    background-color: #f0f4ff; /* Light blue background for active state */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1); /* Enhanced shadow for active state */
}

.platform-box:hover {
    transform: translateY(-5px); /* Hover effect */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
}

.platform-box i {
    font-size: 20px; /* Larger icon size */
    color: #0c58f1; /* Blue color for icons */
    margin-bottom: 1px; /* Spacing below the icon */
}

.platform-box span {
    font-size: 16px; /* Larger text size */
    font-weight: bold; /* Bold text */
    color: #333; /* Dark text color */
}

.account-card { background: #fff; border-radius: 12px; border: 1px solid #eef2f7; box-shadow: 0 4px 15px rgba(0,0,0,0.03); padding: 30px; margin-bottom: 30px; }
        .account-title { font-size: 22px; font-weight: 800; color: #1e293b; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
        .form-input-custom { background-color: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 15px; font-size: 14px; width: 100%; margin-bottom: 15px; }
        /* Button ကို Danger color ပြောင်းထားပါတယ် */
        .btn-update { background: rgb(246, 5, 5); color: #fff; border: none; width: 100%; padding: 12px; border-radius: 10px; font-weight: bold; transition: 0.3s; cursor: pointer; }
        .btn-update:hover { background: rgb(246, 5, 5); transform: translateY(-1px); }

/* Style for the toggle button */
#togglePassword {
    border-left: none;
    color: #64748b;
}

/* Style for the password input field */
#password {
    border-radius: 10px; /* Keep straight edges */
}

/* Focus state for the password input */
#password:focus {
    outline: none;
    box-shadow: none;
    border-color:  rgb(246, 5, 5); /* Blue border on focus */
}

/* Style for the visibility icon */
.fa-eye {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
}

/* Hover effect for the visibility icon */
.fa-eye:hover {
    color: rgb(246, 5, 5);
}

/* Custom Border Styles */
.custom-border {
    border-radius: 8px; /* Change border radius */
    padding: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

.custom-border:focus {
    border-color: rgb(246, 5, 5); /* Change border color on focus */
    box-shadow: 0 0 5px rgb(246, 5, 5); /* Optional focus effect */
}

.alert {
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
    font-size: 16px;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: rgb(246, 5, 5);
    border: 1px solid #f5c6cb;
}

/* Filter Buttons */
.btn-group .btn {
    border-radius: 5px;
    font-weight: bold;
}

/* Search Bar */
.input-group .btn {
    border-radius: 0 5px 5px 0;
}

/* Table Styling */
.table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    background-color: rgb(246, 5, 5); /* Set table background color */
}

.table thead {
    background-color:rgb(246, 5, 5); /* Red header */
    color: white;
    font-weight: bold;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgb(246, 5, 5); /* Slightly lighter red hover effect */
}

.table a {
    text-decoration: none;
    color: white; /* Ensure links are visible on red background */
}

.table a:hover {
    text-decoration: underline;
}

/* Badge Styling */
.badge {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
}