html {
  min-height: 100%;
  background: linear-gradient(135deg, #ffe82e 0%, #ffa500 25%, #90ee90 60%, #d2b48c 100%);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #ffe82e 0%, #ffa500 25%, #90ee90 60%, #d2b48c 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  color: #222;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, td, th, label, legend {
  color: #1c1c1c;
}

#header {
  width: 100%;
  min-height: 64px;
  padding: 10px 18px;
  background: rgba(17, 17, 17, 0.95);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
  overflow: hidden;
}

#header img {
  float: left;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 50%;
}

#header label {
  float: left;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#header ul {
  list-style: none;
  margin: 10px 0 0;
  float: right;
  padding: 0;
  max-width: 60%;
  white-space: nowrap;
}

#header ul li {
  display: inline-block;
  margin-left: 8px;
}

#header ul li a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

#header ul li a:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.header-toggle {
  display: none;
  float: right;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
}

.header-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

#container {
  width: 1150px;
  margin: 18px auto 30px;
}

.nav {
  margin-bottom: 12px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul li {
  display: inline-block;
  margin-right: 6px;
}

.nav ul li a {
  display: inline-block;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe3e8;
  border-radius: 999px;
  color: #222;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav ul li a:hover {
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.nav1 {
  margin: 8px 0 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d7dce0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.nav1 ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav1 ul li {
  display: inline-block;
  margin: 0 6px;
}

.nav1 ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav1 ul li a:hover {
  background: #eef3f8;
  transform: translateY(-1px);
}

/* scope active style only to nav tabs, don't touch bootstrap .active */
.nav .active,
.nav1 .active {
  background: #1f7a4d;
  color: #fff !important;
}

#carousel {
  float: none;
  width: 1150px;
  max-width: 100%;
  margin: 0 auto 14px;
  min-height: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7dce0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#myCarousel {
  width: 100%;
  margin-bottom: 0;
}

#myCarousel .carousel-inner,
#myCarousel .item {
  height: 257px;
}

img.carousel {
  width: 100%;
  height: 257px;
  display: block;
  object-fit: cover;
  background: transparent;
}

#video {
  float: right;
  width: 445px;
  min-height: 300px;
  background: #000;
  border: 1px solid #d7dce0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#video video {
  width: 445px;
  height: 300px;
  object-fit: cover;
}

#content {
  clear: both;
  padding-top: 12px;
}

#product {
  width: 1150px;
  overflow: hidden;
  margin-top: 16px;
}

#product h2,
#product legend,
#content legend {
  color: #1a1a1a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.float {
  float: left;
  width: 300px;
  min-height: 340px;
  margin: 0 0 18px 55px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7dce0;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #202020;
}

.float img {
  width: 280px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.float:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.profile {
  font-size: 16px;
  padding: 5px;
}

#footer {
  clear: both;
  min-height: 120px;
  padding: 24px 20px;
  color: #fff;
  background: linear-gradient(120deg, rgba(17, 17, 17, 0.95), rgba(28, 28, 28, 0.95));
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.14);
}

.foot {
  float: left;
  margin-left: 50px;
}

#footer .foot label,
#footer .foot p,
#footer #foot h4,
#footer #foot ul a li {
  color: #fff !important;
}

#foot {
  float: none;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

#foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#foot ul a {
  display: inline-block;
  margin: 0 10px;
}

#foot ul a li {
  color: #ddd;
  margin-bottom: 5px;
}

#foot ul a li:hover {
  color: #fff;
}

#leftnav {
  position: fixed;
  top: 82px;
  left: 14px;
  width: 220px;
  min-height: calc(100vh - 100px);
  background: rgba(17, 17, 17, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  padding-top: 8px;
}

#leftnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#leftnav ul li {
  border-bottom: 1px solid #2d2d2d;
  padding: 10px 14px;
}

#leftnav ul li a {
  color: #e7e7e7 !important;
  text-decoration: none;
  font-weight: 600;
  display: block;
  border-radius: 8px;
  padding: 6px 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

#leftnav ul li a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

#leftnav ul li ul {
  display: none;
}

#leftnav ul li:hover ul {
  display: block;
}

#rightcontent {
  margin-left: 250px;
  padding: 16px;
  color: #1e1e1e;
}

#rightcontent .table,
#rightcontent table {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  overflow: hidden;
}

#rightcontent th,
#rightcontent td {
  color: #1f1f1f;
}

#admin form.well,
#admin form {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.95);
}

#admin legend {
  color: #111 !important;
}

@media (max-width: 1200px) {
  #container {
    width: 96%;
  }

  #carousel,
  img.carousel,
  #video,
  #video video {
    width: 100%;
    float: none;
  }

  #product {
    width: 100%;
  }

  .float {
    width: 46%;
    margin: 0 2% 14px;
  }
}

@media (max-width: 700px) {
  #header label,
  #header img {
    float: none;
  }

  #header label {
    display: inline-block;
    margin-top: 0;
    vertical-align: middle;
  }

  .header-toggle {
    display: inline-block;
  }

  #header ul {
    display: none;
    clear: both;
    float: none;
    width: 100%;
    margin-top: 12px;
    max-width: 100%;
    white-space: normal;
  }

  #header ul.open {
    display: block;
  }

  #header ul li {
    display: block;
    margin: 6px 0 0;
  }

  #header ul li a {
    width: 100%;
    text-align: center;
  }

  .float {
    width: 96%;
    margin: 0 2% 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav ul {
    display: none;
  }

  .nav ul.open {
    display: block;
  }

  .nav ul li {
    display: block;
    margin: 6px 0 0;
  }

  .nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
  }
}
