body {
  background-color: #f0f2f5 !important; /* Light gray background */
  font-family: 'Roboto', sans-serif !important; /* Consistent font family */
}

.container {
  max-width: 1200px; /* Max width for content */
}

.header-main {
  background-color: #009fe3; /* Primary blue color */
  color: #ffffff;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-main nav a {
  color: #ffffff !important;
  font-weight: 500;
}

.button-search-header {
  background-color: #007bb3 !important; /* Darker blue for search button */
  border: none;
}

.icon-search-header {
  color: #ffffff !important;
}

/* General button styles */
.btn-primary {
    background-color: #009fe3; /* Primary blue */
    border-color: #009fe3;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #007bb3;
    border-color: #007bb3;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Card styles */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.card-text {
    color: #666;
}

/* Form controls */
.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    box-shadow: none;
}

.form-control:focus {
    border-color: #009fe3;
    box-shadow: 0 0 0 0.2rem rgba(0, 159, 227, 0.25);
}

/* Specific to Dell Online look */
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.navbar-nav {
    margin-left: auto; /* Push nav items to the right */
}

.navbar-brand img {
    height: 40px; /* Adjust logo size */
}

/* Search bar enhancements */
.search {
    position: relative;
    width: 100%; /* Ensure search bar takes full width of its parent */
    display: flex; /* Ensure flex behavior for search form */
}

.search .input-group {
    width: 100%; /* Ensure input group itself also takes full width */
    flex-grow: 1; /* Allow the input group to grow and fill available space */
    display: flex; /* Ensure flex behavior for the input group */
    align-items: center; /* Align items vertically in the center */
    flex-wrap: nowrap; /* Prevent items from wrapping to the next line */
}

.search .form-control {
    flex: 1; /* Make the input field grow to fill available space */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 36px; /* Explicitly set height to match the button */
    box-sizing: border-box; /* Ensure consistent box model */
    line-height: 1; /* Match line-height of the button */
    padding: .375rem .75rem; /* Ensure consistent padding */
    flex-shrink: 0; /* Prevent shrinking */
}

.search .input-group-append {
    display: flex;
    flex-shrink: 0;
}

.search .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0 !important;
    padding: .375rem .75rem !important;
    border-radius: 0 5px 5px 0 !important;
    height: 36px; /* Explicitly set height */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #009fe3 !important;
    background-color: #009fe3 !important;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box; /* Ensure consistent box model */
}

.search .input-group-append .btn i {
    font-size: 16px;
}

/* Search suggestions styles */
.search-suggestions {
    border: 1px solid #e0e0e0;
    border-top: none;
    position: absolute;
    top: 100%;
    z-index: 1000;
    background-color: #fff;
    width: 100%; /* Ensure it takes full width of its parent (.search-wrapper) */
    max-width: none; /* Remove any potential max-width constraints */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    left: 0;
    right: 0;
    display: block; /* Changed to block to make items stack vertically */
    padding: 0; /* Remove padding from container, items will have their own padding */
}

.search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px; /* Padding for each suggestion item */
    border-bottom: 1px solid #eee; /* Separator between items */
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    width: 100%; /* Each item takes full width */
    margin: 0;
    border: none; /* No individual border for items */
    border-radius: 0;
}

.search-suggestions .suggestion-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.search-suggestions .suggestion-item:hover {
    background-color: #f8f9fa;
}

.search-suggestions .suggestion-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-suggestions .suggestion-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-suggestions .suggestion-title {
    font-size: 16px;
    font-weight: 500;
    color: #2b2b2b;
    margin-bottom: 5px;
}

.search-suggestions .suggestion-prices {
    display: flex;
    align-items: baseline;
}

.search-suggestions .old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 14px;
    margin-right: 10px;
}

.search-suggestions .current-price {
    font-size: 18px;
    color: #e31837;
    font-weight: bold;
}

.search-suggestions .suggestion-section {
    width: 100%; /* Section titles take full width */
}

.search-suggestions .suggestion-section h6 {
    padding: 10px 15px; /* Padding for section titles */
    margin: 0;
    background-color: #f2f2f2;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
    margin-left: 0;
}

/* Adjust padding and margins for a cleaner look */
.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.breadcrumb {
    background-color: transparent;
    padding-left: 0;
}

.breadcrumb-item a {
    color: #009fe3;
}

/* Specific product card adjustments from Dell Online */
.product-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-name {
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.buy-button {
    background: #009fe3; /* Using Dell Online's primary blue for buy button */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background: #007bb3;
    text-decoration: none;
    color: #fff;
}

.distributor-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* News card specific styles (similar to products) */
.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    padding: 15px;
}

.card-body .btn-primary {
    width: auto;
    padding: 6px 12px;
}

/* Footer styles (example based on Dell Online) */
.footer {
    background-color: transparent; /* Main footer will be transparent, sub-sections handle color */
    color: #333; /* Default text color for the main content area */
    padding: 0; /* Remove padding from main footer, sub-sections handle it */
    font-size: 0.9rem;
}

.footer-top-info {
    background-color: #009fe3; /* Primary blue as seen in the Dell Online image */
    color: #fff;
}

.footer-top-info p,
.footer-top-info small {
    color: #fff;
}

.footer-top-info .fa-2x {
    color: #fff; /* Icons in top blue bar */
}

.footer-main-content {
    background-color: #fff; /* White background for the main content area */
    color: #333;
}

.footer h5 {
    color: #009fe3; /* Blue headings for sections, consistent with primary color */
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li a {
    color: #666; /* Slightly darker text for links on white background */
    text-decoration: none;
    line-height: 2;
    transition: color 0.2s;
}

.footer ul li a:hover {
    color: #007bb3; /* Blue on hover for links */
}

.footer-bottom {
    background-color: #007bb3; /* Light gray for the bottom strip, matching body background */
    padding: 15px 0;
    border-top: 1px solid #e0e0e0; /* Light border */
    text-align: center;
    font-size: 0.8rem;
    color: #ffffff; /* Darker text for better readability on light grey */
}

.footer-bottom p {
    color: #ffffff;
}

#footer {
    background-color: #007bb3; /* Set background color for the footer */
    color: #ffffff; /* Set text color for the footer */
}

#footer a {
    color: #ffffff; /* Set link color in the footer to white */
}

#footer a:hover {
    color: #e3f4fc; /* Lighter white on hover */
}

.social-icons a {
    color: #009fe3; /* Blue icons on white background */
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #007bb3; /* Darker blue on hover */
}

.footer-main-content .col-md-3 p {
    color: #333; /* Ensure contact info text is readable */
}

.footer-main-content .col-md-3 p .fas,
.footer-main-content .col-md-3 p .fab {
    color: #009fe3; /* Icons in contact info */
    margin-right: 8px;
}

.bg-main {
  background-image: url("../../images/background.jpg");
  height: 100vh;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-main-mini {
  background-image: url("../../images/background.jpg");
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.title-content {
  color: #009fe3 !important;
  font-size: 50px;
}

/* Responsive font sizes */
@media screen and (max-width: 1200px) {
  .title-content {
    font-size: 42px;
  }
  .font-weight-bold {
    font-size: 18px;
  }
}

@media screen and (max-width: 992px) {
  .title-content {
    font-size: 36px;
  }
  .font-weight-bold {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .title-content {
    font-size: 28px;
  }
  .font-weight-bold {
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .title-content {
    font-size: 22px;
    line-height: 1.3;
  }
  .font-weight-bold {
    font-size: 14px;
  }
  
  /* Improve form elements */
  input, select, textarea {
    font-size: 16px !important; /* Prevent zoom on iOS */
    padding: 8px 12px;
  }
  
  /* Better touch targets */
  .nav-link, 
  .btn,
  button {
    padding: 12px 16px;
    min-height: 44px;
  }

  /* Improve tables */
  .table-responsive {
    margin: 0 -12px;
    padding: 0 12px;
    width: calc(100% + 24px);
  }

  /* Better spacing */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Card improvements */
  .card {
    border-radius: 8px;
    margin-bottom: 16px;
  }

  /* Menu improvements */
  .navbar-collapse {
    background: #fff;
    padding: 8px 0;
  }

  /* Search optimization */
  .search-wrapper {
    width: 100%;
    margin: 8px 0;
  }
  
  /* Gift cards */
  .box-card {
    padding: 12px;
  }
  
  .gift-card-content {
    padding: 0;
    min-height: 200px;
  }
  
  .gift-card-info {
    padding: 15px;
    gap: 10px;
  }
  
  .gift-logo {
    height: 30px;
  }
  
  .gift-card-title {
    font-size: 16px;
  }
  
  .gift-card-price {
    font-size: 28px;
  }
  
  .gift-card-points {
    font-size: 14px;
    padding: 6px 16px;
    min-width: 80px;
  }
}


.bg-content {
  background-color: #f8f9fa;
}

.div-content-mini {
  text-align: center;
}

.content-mini-top {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 2px !important;
}

.content-mini-bottom {
  font-size: 12px;
}

.div-content-mini-center {
  height: 30vh;
}

.bg-main-mini {
  padding: 20px !important;
}

.content-mini-bottom {
  font-size: 8px !important;
}

.slick-prev {
  /* display: none !important; */
}

.slick-next:before {
  content: '\f105' !important;
}
.slick-prev::before {
  content: '\f105' !important;
}
.main-mini-footer {
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #c6c6c6;
  /* background-color: #b3b3b3; */
  color: #009fe3;
  font-weight: bold;
  font-size: 21px;
  /* width: 70%; */
  margin: auto;
  width: 70%;
  text-align: center;
}

.main-mini-footer-test {
  background: linear-gradient(135deg, #0072c6 0%, #00a4e4 100%);
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 114, 198, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  min-width: 200px;
}

.main-mini-footer-test:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 198, 0.3);
  background: linear-gradient(135deg, #00a4e4 0%, #0072c6 100%);
}

.main-mini-footer-test a {
  color: white !important;
  text-decoration: none !important;
  display: block;
  width: 100%;
  height: 100%;
}

.main-mini-footer-test.disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}

.main-mini-footer-test.disabled:hover {
  transform: none;
  box-shadow: none;
}

.div-main-account-table tr th{
  color: #009fe3;
  width: 30%;
  border: none;
}

.div-main-account-table tr td{
  border: none;
  color: #000000;
}

.div-main-account-table {
  border: none;
}

.main-mini-footer-top {
  color: #009fe3;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 5px;
}
.table-conetent-main {
  text-align: center !important;
}
.table-conetent-main tr th{
  color: #009fe3;
}

.table-conetent-main tr td{
  color: #000000;
}

.table-conetent-main tr td{
  border-bottom: none !important;
  border-top: none !important;
}

.table-conetent-main tr th{
  border-top: none !important;
  border-bottom: 2px solid #009fe3;
}

.div-content-mini-left {
  text-align: left !important;
}

.font30 {
  font-size: 30px;
}

.div-main-account {
  background-color: #dadada !important;
  /* border: 1px solid #c4c4c4; */
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-top: 5px solid #b7b7b7;
}

.content-mini-footer {
  font-size: 10px;
}

.div-main-account-hader {
  background-color: #c6c6c6;
  padding: 10px;
  color: #009fe3;
  font-size: 26px;
  font-weight: bold;
  text-align: left;
}

.color-black {
  color: #000000;
}

.ini-bg-main-mcolor {
  background-color: #009fe3;
}

.color-yellow {
  color: #ffed00;
}

.color-white {
  color: #ffffff;
}

.result-main {
  margin-top: 30px;
}

.div-result-test {
  height: 100vh;
  margin-bottom: 50px;
}

.font35 {
  font-size: 35px !important;
}

.font24 {
  font-size: 24px !important;
}

.padding-question {
  padding: 100px;
  padding-top: 100px;
}

html {
  box-sizing: border-box;
}




.detail-question .radiogroup {
  padding: 48px 64px;
  border-radius: 16px;
  background: #ecf0f3;
  box-shadow:
    4px 4px 4px 0px #009fe3 inset,
    -4px -4px 4px 0px #009fe3 inset;
}


.detail-question .wrapper {
  margin: 8px 0;
}

.detail-question .state {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 1e-5;
  pointer-events: none;
}

.detail-question .label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #394a56;
}

.detail-question .text {
  margin-left: 16px;
  /* transition: opacity .2s linear, transform .2s ease-out; */
}

.detail-question .indicator {
  position: relative;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  /* box-shadow:
    -8px -4px 8px 0px #ffffff,
    8px 4px 12px 0px #d1d9e6; */
  overflow: hidden;
}

.detail-question .indicator::before,
.detail-question .indicator::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  height: 80%;
  width: 80%;
  border-radius: 50%;
}

.detail-question .indicator::before {
  background: #1d1d1b;
  box-shadow:
    -4px -2px 4px 0px #d1d9e6,
    4px 2px 8px 0px #fff;
}
.detail-question .change-color-red::before {
  background: #e94e1b !important;
  box-shadow:
    -4px -2px 4px 0px #d1d9e6,
    4px 2px 8px 0px #fff;
}
.detail-question .indicator::after {
  background-color: #e5dbdb;
  box-shadow:
    -4px -2px 4px 0px #fff,
    4px 2px 8px 0px #e5dbdb;
  transform: scale3d(1, 1, 1);
  /* transition: opacity .25s ease-in-out, transform .25s ease-in-out; */
}

.detail-question .state:checked ~ .label .indicator::after {
  /* transform: scale3d(.975, .975, 1) translate3d(0, 10%, 0); */
  opacity: 0;
}

.detail-question .state:focus ~ .label .text {
  transform: translate3d(8px, 0, 0);
  opacity: 1;
}

.label:hover .text {
  /* opacity: 1; */
}

.format-div-time {
    border-radius: 5px;
  width: 70%;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  font-size: 35px;
  font-weight: bold;
  color: #e94e1b;
  padding: 5px;
  padding-left: 23px;
  padding-right: 23px;
  background: rgb(243,243,243);
  background: linear-gradient(90deg, rgba(243,243,243,1) 0%, rgba(238,235,235,1) 26%, rgba(231,223,223,1) 100%);
}

.format-div-time-main {
  width: 50%;
  text-align: -webkit-center;
}

.format-div-next {
    margin-top: 10px;
    width: 100%;
    background-color: #009fe3;
    color: #ffffff;
    padding: 2px;
}

.format-div-false{
  margin-top: 10px;
  width: 100%;
  background-color: #e94e1b;
  color: #ffffff;
  padding: 2px;
}

.format-div-next div{
  border: 1px solid #ffffff;
  border-radius: 15px;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
}

.hidden-question {
    display: none;
}

#hlsjsvod {
  background-image: url("../../images/background.jpg");
    background-size: cover;
/*   background-color: #f60; */
}









 /* Layout for this demo */
.wrap{
  position: relative;
  max-width: 1000px;
  width: 90%;
  margin: 100px auto;
}

 /* The outer-div to move the elements */
.box-video{
  position: relative;
  width: 100%;
  margin:0 auto 20px auto;
  cursor: pointer;
  overflow: hidden;
}

 /* Set Cover aka Background-Image */
.box-video .bg-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 2;
}

 /* Add light shade to make play button visible*/
.bg-video::after{
    content:'';
    position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.1);
      z-index: 3;
      }


/* The Play-Button using CSS-Only */
.box-video .bt-play {
  position: absolute;
    top:50%;
    left:50%;
    margin:-30px 0 0 -30px;
    display: inline-block;
    width: 60px;
    height: 60px;
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    text-indent: -999em;
    cursor: pointer;
    z-index:2;
    background: #2e3133;
    opacity: 0.9;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

/* The Play-Triangle */
.box-video .bt-play:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  height: 0;
  width: 0;
  margin: -12px 0 0 -6px;
  border: solid transparent;
  border-left-color: #ffffff;
  border-width: 12px 20px;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.box-video:hover .bt-play {
  transform: scale(1.1);
}

/* When Class added the Cover gets hidden... */
.box-video.open .bg-video{
  visibility: hidden;
  opacity: 0;

  -webkit-transition: all .6s .8s;
  transition: all .6s .8s;
}

/* and iframe shows up */
.box-video.open .video-container{
  opacity: 1;
  -webkit-transition: all .6s .8s;
  transition: all .6s .8s;
}

/* Giving the div ratio of 16:9 with padding */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
  margin: 0;
  z-index: 1;
    padding-bottom: 56.27198%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




.search {
  width: 100%;
  position: relative;
  display: flex;
}

.searchTerm {
  width: 100%;
  border: 3px solid #009fe3;
  border-right: none;
  padding: 5px;
  height: 36px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #9DBFAF;
}

.searchTerm:focus{
  color: #009fe3;
}

.searchButton {
  width: 40px;
  height: 36px;
  border: 1px solid #009fe3;
  background: #009fe3;
  text-align: center;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 20px;
}



.video {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 447;
  height: 300;
  background: #000; /* Random BG colour for unloaded video elements */
}


.video-container {
	/* position: relative; */
	/* border: 1px solid #111; */
	cursor: pointer;
}

.video {
	/* background: url("../../images/background.jpg"); */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    opacity: 0.8;
}

.video-container img,
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-container img:hover {
	opacity: 0.8;
}

input[id="cb1"] + label {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px dashed #8c8c89;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 12px;
  }
  input[id="cb1"]:checked + label:after {
    position: relative;
    top: -9px;
    left: 2px;
    content: '\2714';
    font-size: 34px;
  }
  input[id="cb1"] {
    display: none;
  }

  .checkbox-exam {
    background: #fff;
    text-align: center;
  }

  .div-content-mini-center-change {
    height: 20vh !important
  }

  .div-test-top {
    text-align: center;
    color: #40403e;
    font-size: 22px;
    font-weight: bold;
  }

  .margin-top-style {
    margin-bottom: 50px;
  }

  .disable-links {
    pointer-events: none;
    opacity: 0.2;
  }

  .certificate-background {
    background-image: url("../../images/certificate.jpg");
    background-repeat: no-repeat;
    background-size: contain !important;
    background-position: center !important;
    padding: 2rem !important;
    margin: 2rem auto !important;
    text-align: center;
  }

  
  .title-certificate {
    font-size: 60px;
    font-weight:700;
    text-transform: uppercase;
    background: linear-gradient(to right, #330867 0%, #332475 30%, #30CFD0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .title-2-certificate {
    color: #000001;
  }
  
  .title-3-certificate {
    font-weight:700;
    background: linear-gradient(to right, #330867 0%, #332475 30%, #30CFD0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .container-certificate {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
  }

  .title-4-certificate {
    text-align: left;
    padding-left: 40px;
  }

  .title-6-certificate {
    font-size: 30px;
    padding-left: 10%;
    display: inline-block;
    width: 76%;
    border-bottom: 2px solid #000001;
  }

  .image-main {
    object-fit: fill;
    height: 500px;
    width: 100%;
  }

  .jumbotron-change-bg {
    padding: 0px !important;
  }

  .container-center {
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  }

  .font-test {
    font-size: 22px;
    font-family: 'Roboto', sans-serif !important;
  }
  .title-news {
    /* padding-top: 5px; */
    padding-left: 18px;
    padding-right: 10px;
    padding-top: 10px;
    background: #b3b3b3;
    height: 186px;
  }

  .title-news-main {
    text-align: left;
    color: #007bff !important;
    font-size: 17px;
    height: 83px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis; 
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-line-clamp: 3;
    -moz-box-orient: vertical;
  }
  .title-news-main a {
    color: #009fe3;
    font-weight: bold;
    font-size: 18px;
  }

  .title-news-detail {
    text-align: left;
    height: 53px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-line-clamp: 2;
    -moz-box-orient: vertical;
  }

  .title-gift {
    color: #ffffff; 
    text-align: left; 
    background-color: #009fe3;
    padding: 8px;
    /* font-weight: bold; */
    padding-left: 25px;
    font-size: 20px;
  }

  .box-card {
    background-color: transparent;
    padding: 0;
    border-radius: 15px;
    box-shadow: none;
    min-height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  /* New gift card layout */
  .gift-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    height: 100%;
    min-height: 250px;
    position: relative;
  }

  .gift-card-logo {
    margin-bottom: 10px;
  }

  .gift-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  .gift-card-divider {
    width: 80%;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    margin: 10px 0;
  }

  .gift-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
    .box-card {
      min-height: 200px !important;
      margin: 8px 0 !important;
    }
    
    .gift-card-content {
      min-height: 200px !important;
    }
    
    .gift-card-info {
      padding: 15px 10px !important;
      gap: 6px !important;
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
    }
    
    .gift-card-title {
      font-size: 18px !important;
      line-height: 1.1 !important;
      margin-bottom: 4px !important;
    }
    
    .gift-card-price {
      font-size: 24px !important;
      line-height: 1 !important;
      margin-bottom: 8px !important;
    }
    
    .gift-card-points {
      font-size: 14px !important;
      padding: 6px 12px !important;
      min-width: 80px !important;
    }
  }

  @media (max-width: 480px) {
    .box-card {
      min-height: 180px !important;
      margin: 5px 0 !important;
    }
    
    .gift-card-content {
      min-height: 180px !important;
    }
    
    .gift-card-info {
      padding: 12px 8px !important;
      gap: 5px !important;
    }
    
    .gift-card-title {
      font-size: 16px !important;
      margin-bottom: 3px !important;
    }
    
    .gift-card-price {
      font-size: 20px !important;
      margin-bottom: 6px !important;
    }
    
    .gift-card-points {
      font-size: 12px !important;
      padding: 5px 10px !important;
      min-width: 70px !important;
    }
  }

  .gift-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 5px;
    text-align: center;
  }

  .gift-card-price {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
    text-align: center;
  }

  .gift-card-points {
    background: linear-gradient(135deg, #009fe3, #0076CE);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-width: 100px;
    text-align: center;
  }

 

  .div-card-title {


  }

  .box-card-title {
    color: #00afec;
    font-size: 23px;
    font-weight: bold;
  }

  .box-card-detail-title {
    color: #00afec;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 0px !important;
   
  }

  .box-card-price {
    color: #bc2132;
    font-size: 50px;
    font-weight: bold;
  }

  .box-card-detail-price {
    color: #bc2132;
    font-size: 39px;
    font-weight: 900;
    margin-bottom: 0px !important;
  }

  .box-card-score {
    color: #009ee6;
    font-size: 37px;
    font-weight: bold;
    width: 50%;
    box-shadow: rgb(50 50 93 / 25%) 0px 50px 100px -20px, rgb(0 0 0 / 30%) 0px 30px 60px -30px, rgb(10 37 64 / 35%) 0px -2px 6px 0px inset;
    border-radius: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .box-card-op {
    opacity: 1 !important;
    pointer-events: none;
    cursor: not-allowed;
  }

  .box-card-detail {
    background-color: #ffffff;
    padding: 10px;
    padding-bottom: 35px;
    padding-top: 52px;
    border-radius: 20px;
  }

  .info-card-title {
    color: #000000;
    font-size: 33px;
    font-weight: bold;
  }

  .class1 {
    width: 26%;
    background-color: #009fe3;
    font-size: 32px;
    text-align: center;
    padding: 3px;
    border-radius: 7px;
  }
  .class1 p {
    border: 1px solid white;
    margin-bottom: 0rem !important;
    border-radius: 7px;
  }
  .class2 {
    width: 46%;
    background-color: #009fe3;
    font-size: 32px;
    text-align: center;
    padding: 3px;
    border-radius: 7px;
    margin-top: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .class3 {
    cursor: pointer;
    margin-bottom: 0rem !important;
    font-size: 24px;
    padding: 6px;
    padding-left: 10px;
    border-radius: 21px;
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
  }
  
  .class4 {
    margin-top: 12px;
    color: #000000;
    text-align: left;
    font-size: 20px;

  }
  
  .modal-body-change {
    padding-right: 52px;
    padding-left: 52px;
    padding-bottom: 40px;
    padding-top: 40px;
    background-color: #e6e7e8;
  }

  .box-card-detail-price-change {
    font-size: 27px;
  }

  .class1-change {
    width: 29%;
    background-color: #009fe3;
    font-size: 26px;
  }

  .class9 {
    border: 1px solid #b1a085;
    padding: 10px;
    width: 150px;
    display: block;
    background-color: #ffffff;
    color: #000000;
    font-size: 30px;
    border-radius: 31px;
  }

  .class10 {

  }

  .class11{
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
  }

  .class12{
    margin-bottom: 0px;
    
  }
  .class13{
    font-size: 27px;
    color: #009fe3;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 0px !important;
  }

  .class15 {
    width: 45%;
    text-align: center;
    background-color: #009fe3;
    color: #e3f4fc;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 12px;
    padding-top: 12px;
    border-radius: 29px;
  }

  .class14 {
    text-align: center;
    color: #000000;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .modal-content  {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 20px !important; 
}

.title-gift-address {
  font-size: 25px;
    text-align: center;
}

.class20 {
  width: 100%;
  margin-top: 26px;
}

.class21 {
  width: 25%;
  border: none;
    text-align: center;
    background-color: #009fe3;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 15px;
    box-shadow: #e3f4fc 0px 2px 5px 0px, #e3f4fc 0px 1px 1px 0px;
}

.class22 {
  margin-top: 60px;
}

.alert-error {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-danger, .alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.image-with-text {
  position: relative;
  width: 200px;
}

.image-with-text img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px
}
.box-card-score-4 {
  position: absolute;
  text-align: center;
  top:68%;
  left: 24%;
  margin: 0 auto;
  background-color: #ffffff;
}

.box-card-change {
  padding: 10px !important;
}

.box-card-detail-change {
  background-color: #ffffff;
    padding: 10px;
}

.class1-1 {
  width: 50%;
  bottom: 81px;
  position: absolute;
}

.class2-2 {
  width: 90%;
  bottom: 0px;
  position: absolute;
}

.text-left {
  text-align: left !important;
}

.notice-gift {
  color: #000000;
  line-height: 30px !important;
}

.notice-gift-title {
  color: #009fe3;
  font-weight: bold;
}

.bg-content-change {
  background-color: #ffffff;
}

/* Main Header */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between logo, search, and user info */
}

.main-header .logo-container {
    width: 180px; /* Fixed width for logo */
    flex-shrink: 0;
    margin-right: 20px; /* Space between logo and search */
}

.main-header .logo-img {
    max-height: 45px;
    width: auto;
}

.main-header .search-wrapper {
    flex-grow: 1; /* Allow search bar to take available space */
    max-width: 600px; /* Set a reasonable max-width for the search bar */
    margin-right: -150px; /* Space between search and user info */
}

.main-header .user-info {
    font-size: 0.9rem;
    flex-shrink: 0; /* Prevent user info from shrinking */
    display: flex;
    align-items: center;
}

/* Main Navigation Bar */
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.navbar-nav {
    margin-left: auto; /* Push nav items to the right */
}

.navbar-brand img {
    height: 40px; /* Adjust logo size */
}

/* Search bar enhancements */
.search {
    position: relative;
    width: 100%; /* Ensure search bar takes full width of its parent */
    display: flex; /* Ensure flex behavior for search form */
}

.search .input-group {
    width: 100%; /* Ensure input group itself also takes full width */
    flex-grow: 1; /* Allow the input group to grow and fill available space */
    display: flex; /* Ensure flex behavior for the input group */
    align-items: center; /* Align items vertically in the center */
    flex-wrap: nowrap; /* Prevent items from wrapping to the next line */
}

.search .form-control {
    flex: 1; /* Make the input field grow to fill available space */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 36px; /* Explicitly set height to match the button */
    box-sizing: border-box; /* Ensure consistent box model */
    line-height: 1; /* Match line-height of the button */
    padding: .375rem .75rem; /* Ensure consistent padding */
    flex-shrink: 0; /* Prevent shrinking */
}

.search .input-group-append {
    display: flex;
    flex-shrink: 0;
}

.search .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0 !important;
    padding: .375rem .75rem !important;
    border-radius: 0 5px 5px 0 !important;
    height: 36px; /* Explicitly set height */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #009fe3 !important;
    background-color: #009fe3 !important;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box; /* Ensure consistent box model */
}

.search .input-group-append .btn i {
    font-size: 16px;
}

/* Search suggestions styles */
.search-suggestions {
    border: 1px solid #e0e0e0;
    border-top: none;
    position: absolute;
    top: 100%;
    z-index: 1000;
    background-color: #fff;
    width: 100%; /* Ensure it takes full width of its parent (.search-wrapper) */
    max-width: none; /* Remove any potential max-width constraints */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    left: 0;
    right: 0;
    display: block; /* Changed to block to make items stack vertically */
    padding: 0; /* Remove padding from container, items will have their own padding */
}

.search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px; /* Padding for each suggestion item */
    border-bottom: 1px solid #eee; /* Separator between items */
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    width: 100%; /* Each item takes full width */
    margin: 0;
    border: none; /* No individual border for items */
    border-radius: 0;
}

.search-suggestions .suggestion-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.search-suggestions .suggestion-item:hover {
    background-color: #f8f9fa;
}

.search-suggestions .suggestion-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-suggestions .suggestion-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-suggestions .suggestion-title {
    font-size: 16px;
    font-weight: 500;
    color: #2b2b2b;
    margin-bottom: 5px;
}

.search-suggestions .suggestion-prices {
    display: flex;
    align-items: baseline;
}

.search-suggestions .old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 14px;
    margin-right: 10px;
}

.search-suggestions .current-price {
    font-size: 18px;
    color: #e31837;
    font-weight: bold;
}

.search-suggestions .suggestion-section {
    width: 100%; /* Section titles take full width */
}

.search-suggestions .suggestion-section h6 {
    padding: 10px 15px; /* Padding for section titles */
    margin: 0;
    background-color: #f2f2f2;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
    margin-left: 0;
}

/* Responsive adjustments for product category dropdown */
@media (max-width: 991.98px) {
    .product-category-menu {
        position: static;
        box-shadow: none;
        border: none;
        width: 100% !important;
        background-color: #007bb3; /* Darker blue for mobile dropdown background */
        border-radius: 0;
        transform: none; /* Remove transform for mobile */
        left: auto; /* Remove left positioning for mobile */
        right: auto; /* Remove right positioning for mobile */
    }
    .product-category-menu .category-item {
        color: #fff;
        padding-left: 30px;
        text-align: left; /* Align text left on mobile */
    }
    .product-category-menu .category-item:hover {
        background-color: #0056b3; /* Darker blue on hover */
    }
    .product-category-menu .category-item i {
        color: #fff; /* Icons white on mobile */
    }
    .product-category-menu .d-flex {
        flex-wrap: wrap; /* Allow wrapping on mobile */
        justify-content: flex-start; /* Align left on mobile */
    }

    /* Mobile menu specific styles */
    .navbar-collapse {
        background: linear-gradient(135deg, #009fe3 0%, #0076CE 100%) !important;
        padding: 1rem 0 !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        width: 75% !important;
        max-width: 300px !important;
        height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        transition: transform 0.3s ease-in-out !important;
        transform: translateX(-100%) !important;
        z-index: 1040 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
        border-radius: 0 15px 15px 0 !important;
        /* Hide scrollbar for a cleaner look */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .navbar-collapse::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .navbar-collapse.show {
        transform: translateX(0) !important; /* Slide in when shown */
    }

    .navbar-main .nav-item {
        margin: 0.5rem 0.75rem !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        background: rgba(255,255,255,0.15) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        border-bottom: none !important;
    }

    .navbar-main .nav-item:last-child {
        border-bottom: none !important;
    }

    .navbar-main .nav-link {
        padding: 1rem 1.25rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
        margin: 0 !important;
        color: #fff !important;
        text-decoration: none !important;
        text-align: left !important;
    }

    .navbar-main .nav-link:hover,
    .navbar-main .nav-item.active .nav-link {
        background: rgba(255,255,255,0.25) !important;
        transform: translateX(5px) !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
        border-radius: 10px !important;
    }

    .product-menu-item {
        display: flex !important;
        align-items: center !important;
        padding: 1rem 1.25rem !important;
        background: rgba(255,255,255,0.15) !important;
        border-radius: 10px !important;
        margin: 0.5rem 0.75rem !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .product-menu-item:hover {
        background: rgba(255,255,255,0.25) !important;
        transform: translateX(5px) !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
    }

    /* Hide desktop menu on mobile */
    .navbar-nav.d-none.d-lg-flex {
        display: none !important;
    }

    /* Ensure mobile menu is visible */
    .navbar-nav.d-lg-none {
        display: block !important;
    }

    .navbar-toggler {
        position: fixed !important;
        top: 10px !important;
        right: 15px !important;
        z-index: 1050 !important;
        border: none !important;
        padding: 8px 10px !important;
        border-radius: 5px !important;
        background: #009fe3 !important;
        transition: all 0.3s ease !important;
        color: #fff !important;
        margin: 0 !important;
        order: unset !important;
    }

    .navbar-toggler:hover {
        background: #0076CE !important;
        transform: scale(1.05) !important;
    }
    
    /* Desktop submenu styles */
    @media (min-width: 769px) {
        .submenu {
            position: relative;
        }
        
        .submenu-list {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            min-width: 200px;
            z-index: 1000;
            display: none;
            padding: 10px 0;
        }
        
        .submenu:hover .submenu-list {
            display: block !important;
        }
        
        /* Ensure submenu is visible on hover */
        li.submenu:hover > .submenu-list {
            display: block !important;
        }
        
        /* Debug: Force submenu to show */
        .submenu-list {
            display: none !important;
        }
        
        .submenu:hover .submenu-list,
        li.submenu:hover > .submenu-list {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        
        .submenu-list li {
            list-style: none;
        }
        
        .submenu-list li a {
            display: block;
            padding: 8px 15px;
            color: #333;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .submenu-list li a:hover {
            background-color: #f8f9fa;
            color: #007bb3;
        }
        
        .product-count {
            color: #28a745;
            font-size: 0.85em;
            font-weight: normal;
        }
        
        .no-products {
            color: #dc3545;
            font-size: 0.85em;
            font-weight: normal;
        }
        
        .no-models {
            color: #6c757d;
            font-size: 0.9em;
            font-style: italic;
            padding: 8px 15px;
        }
    }

    /* Change icon when menu is open */
    .navbar-toggler[aria-expanded="true"] .fa-bars {
        display: none !important;
    }

    .navbar-toggler[aria-expanded="true"] .fa-times {
        display: inline-block !important;
        color: #fff !important;
    }

    .navbar-toggler[aria-expanded="false"] .fa-bars {
        display: inline-block !important;
        color: #fff !important;
    }

    .navbar-toggler[aria-expanded="false"] .fa-times {
        display: none !important;
    }

    /* Ensure all icons are white */
    .navbar-toggler i {
        color: #fff !important;
    }

    /* Ensure toggle button is always visible and clickable */
    .navbar-toggler {
        pointer-events: auto !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    .navbar-toggler:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Mobile header scroll effect */
    .top-bar {
        transition: all 0.3s ease !important;
    }

    .top-bar.scrolled {
        height: 50px !important;
        padding: 0 !important;
    }

    .top-bar.scrolled .top-bar-link {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
    }

    .top-bar.scrolled .navbar-toggler {
        position: fixed !important;
        top: 10px !important;
        right: 15px !important;
    }

    /* Ensure proper layout when hotline is hidden */
    .top-bar.scrolled .container {
        justify-content: flex-start !important;
    }

    /* Smooth transition for container */
    .top-bar .container {
        transition: justify-content 0.3s ease !important;
    }

    /* Responsive adjustments for different screen sizes */
    @media (max-width: 480px) {
        .navbar-toggler {
            right: 10px !important;
            padding: 6px 8px !important;
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        .navbar-toggler {
            right: 15px !important;
            padding: 8px 10px !important;
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .navbar-toggler {
            right: 20px !important;
            padding: 10px 12px !important;
        }
    }

    @media (min-width: 1025px) {
        .navbar-toggler {
            right: 25px !important;
            padding: 12px 14px !important;
        }
    }

    .top-bar .top-bar-link {
        transition: all 0.3s ease !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .main-header .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header .container {
        padding: 10px 15px; /* Adjust container padding for mobile */
    }
    .main-header .logo-container,
    .main-header .search-wrapper,
    .main-header .user-info {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-left: 0; /* Remove left margin on mobile */
        margin-right: 0; /* Remove right margin on mobile */
        /* max-width: none; Removed as we will control width differently */
    }
    .main-header .search-wrapper {
        width: calc(100% - 30px); /* Adjust width to account for container padding */
        max-width: 400px; /* Increase max-width slightly for better appearance */
        margin: 0 auto 10px auto; /* Center search bar horizontally and add bottom margin */
        display: flex; /* Enable flexbox for alignment of search components */
        align-items: center; /* Vertically align items */
        /* justify-content: center; Removed as margin auto handles centering */
    }
    .search {
        flex-grow: 1; /* Allow the search container to grow */
        width: auto; /* Allow width to be determined by flex-grow */
    }
    .search .input-group {
        width: 100%; /* Ensure input group itself also takes full width */
    }
    /* Social Links */
    .mobile-social {
        padding: 1.5rem 0.75rem !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: auto !important;
        background: rgba(255,255,255,0.05) !important;
        backdrop-filter: blur(10px) !important;
    }

    .social-links-container {
        display: flex !important;
        gap: 0.75rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .social-link {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1)) !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .social-link:hover {
        background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2)) !important;
        transform: translateY(-2px) scale(1.05) !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
    }

    /* Hotline */
    .hotline {
        width: 100% !important;
        text-align: center !important;
        margin-top: 0.5rem !important;
    }

    .hotline a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        color: #fff !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 25px !important;
        background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1)) !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        text-decoration: none !important;
    }

    .hotline a:hover {
        background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2)) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
    }

    .main-header .user-info {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Ensure căn giữa cho văn bản */
        margin-bottom: 0;
    }
    .main-header .user-info .mr-3 {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    /* Mobile specific adjustments for search input and button */
    .search .form-control,
    .search .input-group-append .btn {
        height: 38px !important; /* Consistent height for both */
        padding: 8px 15px !important; /* Consistent padding for both */
        box-sizing: border-box; /* Ensure consistent box model */
        flex-shrink: 0; /* Prevent shrinking */
    }
}