/* Base layout */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 62.5%;
  font-family: Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif;
  background: url('./images/MWB_bg_001.jpg') no-repeat top left fixed;
  background-color: #FFFFFF;
  background-size: 100% 100%;
}

.vbx-header-image {
  width: 1000px;
  height: 210px;
  background: url('./images/MWB_header.png') no-repeat center top;
  background-size: cover;
  margin: 0 auto;
}

.vbx-theme-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Topnav styling */
.vbx-topnav {
  width: 100%;
  height: 60px;
  margin: 0 0 60px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('./images/MWB_menu_bg.png') repeat-x top left;
  background-color: transparent;
  position: relative;
  z-index: 1000;
}

.vbx-topnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0px;
}

.vbx-topnav li {
  position: relative;
}

.vbx-topnav a {
  display: block;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  background: url('./images/button1.png') no-repeat center center;
  background-size: cover;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.vbx-topnav a:hover {
  background: url('./images/button2.png') no-repeat center center;
  background-size: cover;
}

/* Dropdown support */
.vbx-topnav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;                     /* center dropdown under parent */
  transform: translateX(-50%);   /* adjust for true centering */
  flex-direction: column;
  align-items: center;           /* center child items horizontally */
  background-color: #334b68;
  border: 2px solid #9f9f9f;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  z-index: 999;
  min-width: 180px;
  text-align: center;            /* center text inside */
}

.vbx-topnav li:hover > ul {
  display: block;
}

.vbx-topnav li ul li {
  width: 100%;
  text-align: center;            /* center each child item */
}

.vbx-topnav li ul a,
.vbx-topnav li ul .nav-button-link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 10px 20px;
  font-size: 1.1rem;
  background: none;
  background-color: #334b68;
  color: #00e0ff;
  border-bottom: 1px solid #555;
  border-radius: 0;
}

.vbx-topnav li ul a:hover,
.vbx-topnav li ul .nav-button-link:not(.disabled):hover {
  background-color: #005fa3;
  color: #fff;
}

/* Disabled dropdown items */
.vbx-topnav li ul .nav-button-link.disabled,
.vbx-topnav li ul a.disabled {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 20px;
  font-size: 1.1rem;
  text-align: center;
  color: #999;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
  background: none !important;              /* remove button image */
  background-color: #334b68 !important;     /* match dropdown background */
  border-bottom: 1px solid #555;
  border-radius: 0;
}

/* Caret indicator */
.vbx-topnav .has-dropdown > a {
  padding-right: 25px;
  position: relative;
}

.vbx-topnav .caret {
  font-size: 0.6em;
  margin-left: 6px;
  vertical-align: middle;
}

/* Button link styling (for topbar forms) */
.nav-button-link {
  display: block;
  padding: 12px 20px;
  font-size: 1.1rem;          /* match <a> size */
  font-weight: bold;
  font-family: inherit;
  color: #000;
  text-decoration: none;
  background: url('./images/button1.png') no-repeat center center;
  background-size: cover;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-button-link:hover {
  background: url('./images/button2.png') no-repeat center center;
  background-size: cover;
}

/* Disabled top-level buttons (keep button frame, greyed text) */
.vbx-topnav a.disabled {
  color: #999;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

.nav-button-link.disabled:not(.in-dropdown) {
  color: #999;
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

/* Footer */
.vbx-footer {
  height: 0;
  background: url('./images/VBX_footer.jpg') no-repeat center bottom;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-size: 1.1rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  margin: 225px 0 0 0;
  border-radius: 6px;
  text-align: center;
}

.vbx-footer a {
  color: #00e0ff;
  text-decoration: underline;
}

.vbx-footer a:hover {
  color: #ffffff;
}

/* Login & Register Boxes */
.login-box,
.register-box {
  max-width: 350px;
  margin: auto;
  background: #024A47;
  padding: 20px;
  border: 3px solid #9f9f9f;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  color: #fff;
}

.login-box h2,
.register-box h2 {
  font-family: Poppins, Tahoma, Helvetica, Arial, Lucida Console;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.login-box input[type="text"],
.login-box input[type="password"],
.register-box input {
  width: 250px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-box input[type="submit"],
.register-box button {
  font-size: 16px;
  width: 200px;
  padding: 2px;
  background: #0077cc;
  color: #00e0ff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  cursor: pointer;
}

.login-box input[type="submit"]:hover,
.register-box button:hover {
  background: #005fa3;
}

/* Checkbox styling */
.checkbox-wrapper {
  font-size: 16px;
  text-align: left;
  margin: 0 0 0 -68px;
}

.checkbox-wrapper label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  color: #fff;
}

.checkbox-wrapper input[type="checkbox"] {
  margin: 0 -82px 0 -24px;
}

.fontsize14 {
    font-size: 14px;
    font-style: oblique;
    letter-spacing: 2px;
}
.fontsize16 {
    font-size: 16px;
    letter-spacing: 2px;
}

.fontsize26 {
    font-size: 26px;
    letter-spacing: 2px;
}

.actset-box {
  max-width: 500px;
  margin: auto;
  background: #024A47;
  padding: 20px;
  border: 3px solid #9f9f9f;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  color: #fff;
  font-size: 16px;<br />
}

.actset-box h2 {
  font-family: Poppins, Tahoma, Helvetica, Arial, Lucida Console;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.actset-box input {
  width: 250px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.actset-box button {
  font-size: 16px;<br />
  width: 200px;
  padding: 2px;
  background: #0077cc;
  color: #00e0ff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  cursor: pointer;
}

.actset-box button:hover {
  background: #005fa3;
}