/*! Amaze UI v2.3.0 | by Amaze UI Team | (c) 2015 AllMobilize, Inc. | Licensed under MIT | 2015-04-08T06:04:29 UTC */

/* --- ORIGINAL BASE STYLES (Keep exactly as they were) --- */
*, :before, :after { -webkit-box-sizing: border-box; box-sizing: border-box }
html, body { min-height: 100% }
html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; font-size: 62.5%; }
body { margin: 0; position: relative; background: #f7f8fb; font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; min-width: 1250px; color: #333; font-size: 1.4rem; line-height: 1.6; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, main, nav, section, summary { display: block }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline }
a { background-color: transparent; text-decoration: none; color: #333; transition: all 0.2s; }
img { vertical-align: middle; border: 0; max-width: 100%; }

/* --- ORIGINAL HEADER & NAV RESTORATION --- */
#bd-header { position: fixed; top: 0; left: 0; z-index: 1100; width: 100%; height: 55px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
#bd-header .bd-box { width: 1200px; margin: 0 auto; height: 55px; }

/* FIX: Forces the menu list to stay horizontal even with Bootstrap flex active */
#bd-header .h-menu { float: left; margin-left: 50px; }
#bd-header .h-menu ul { display: block !important; padding: 0; margin: 0; list-style: none; }
#bd-header .h-menu li { display: inline-block !important; float: left !important; line-height: 55px; margin: 0 15px; }
#bd-header .h-menu a { font-size: 15px; font-weight: 500; color: #4a5568; }
#bd-header .h-menu .active a { color: #e67e22; border-bottom: 2px solid #e67e22; }

#bd-header .h-aside { float: right; line-height: 55px; }
#bd-header .h-login { display: inline-block; margin-right: 20px; }

/* --- ORIGINAL FOOTER RESTORATION --- */
#bd-footer { background: #2d3237; padding: 50px 0; color: #a0aec0; clear: both; }
#bd-footer .bd-box { width: 1200px; margin: 0 auto; display: block !important; }
#bd-footer .ft-menu { float: left; width: 70%; }
#bd-footer .ft-weixin { float: right; width: 25%; text-align: right; }
.footer-copyright { background: #23282d; padding: 20px 0; text-align: center; color: #718096; border-top: 1px solid #3d444d; }

/* --- MISSING REGISTRATION COMPONENTS --- */

/* Wrapper to prevent content from hiding behind fixed header */
.auth-box-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Step Tracker Fixes */
.reg-steps {
    display: flex !important;
    justify-content: center;
    margin: 0 0 40px 0;
    padding: 0;
    list-style: none;
}
.reg-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: #a0aec0;
}
.reg-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 17px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}
.reg-step.active { color: #e67e22; font-weight: 600; }
.reg-step.active:after { background: #e67e22; }
.step-num {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #edf2f7;
    margin: 0 auto 10px;
    line-height: 35px;
    display: block;
    position: relative;
    z-index: 2;
}
.reg-step.active .step-num { background: #e67e22; color: #fff; }

/* Role Selection Grid Fixes */
.role-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px;
    padding: 20px 0;
}
.role-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.role-card:hover {
    transform: translateY(-5px);
    border-color: #e67e22;
    box-shadow: 0 10px 20px rgba(230,126,34,0.1);
}
.role-card.active {
    border-color: #e67e22 !important;
    background-color: #fff9f8 !important;
    border-width: 2px;
}

/* UTILS */
.clearfix:after { content: ""; display: table; clear: both; }

/* --- COMPATIBILITY SHIELD: Overrides Amaze UI vs Bootstrap conflicts --- */

/* 1. Protect the Fixed Header */
#bd-header {
    background-color: #fff !important;
    border-bottom: 1px solid #e7e7e7;
    height: 55px !important;
    z-index: 1000 !important; /* Ensures it stays above Bootstrap elements */
}

/* 2. Force Original Menu Alignment */
#bd-header .bd-box {
    width: 1100px !important; /* Matches your style.css exactly */
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important; /* Prevents Bootstrap Flex interference */
}

#bd-header .h-menu ul { 
    margin: 0 !important; 
    padding: 0 !important; 
    list-style: none !important;
}

#bd-header .h-menu li { 
    display: inline-block !important; /* Forces horizontal alignment */
    line-height: 55px !important;
    margin: 0 15px !important;
}

/* 3. Global Body Width Fix */
body { 
    min-width: auto !important; /* Overrides the 1250px minimum for better mobile scaling */
}

/* 4. Footer Alignment Fix */
#bd-footer .bd-box {
    width: 1190px !important; /* Matches footer width from style.css */
    margin: 0 auto !important;
    padding: 25px 0 20px !important;
}

.page-container {
    padding-top: 85px; /* Provides 30px of breathing room below the 55px header */
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* --- Overrides to protect Header/Footer from Bootstrap --- */

/* Fix Header Width and Alignment */
#bd-header .bd-box {
    width: 1100px !important; /* Forces your original style.css width */
    max-width: 100%;
    margin: 0 auto !important;
    display: block !important; /* Prevents Bootstrap Flex interference */
}

/* Restore Horizontal Menu */
#bd-header .h-menu ul { 
    display: block !important; 
    margin: 0; 
    padding: 0; 
}
#bd-header .h-menu li { 
    display: inline-block !important; 
    float: none !important; 
}

/* Fix Body Conflict */
body {
    min-width: auto !important; /* Allows Bootstrap responsiveness to work */
    line-height: 1.5; /* Prevents text from bunching up */
}

/* Content Offset for Fixed Header */
.auth-wrapper, .main-content {
    padding-top: 70px !important; /* Moves content down so header doesn't hide it */
}

/* --- PARTNER PROCESS STYLES --- */
.process{ width: 1100px; margin: 100px auto 0 auto; clear:both;}
.lc-wz{ padding: 50px 0; text-align: center; color: #999; font-size: 16px; line-height: 40px;}
.lc-tit{text-align:center;font-weight:400;font-size:2rem;overflow:hidden; margin-top: 0px;}
.bar{ width: 1100px;}
.step {
  counter-reset: flag;
}
.step li {
  position: relative;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a {
  cursor: pointer;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a:before {
  content: counter(flag);
  counter-increment: flag;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.step li a:after {
  content: "";
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

.step-round {
  margin-top: 40px;
}
.step-round > li:first-child > a:after {
  left: 30%;
  border-radius: 5px 0 0 5px;
}
.step-round > li:last-child > a:after {
  right: 30%;
  border-radius: 0 5px 5px 0;
}
.step-round > li.active > a,
.step-round > li.active > a:hover,
.step-round > li.active > a:focus {
  background: transparent;
  color: #FF6D52;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover{ color: #FF6D52 !important;
 background: 0px !important; margin-top:20px;}
.step-round > li.active > a:before,
.step-round > li.active > a:hover:before,
.step-round > li.active > a:focus:before {
  background-color: #FF6D52;
  color: #ffffff;
}
.step-round > li.active > a:after,
.step-round > li.active > a:hover:after,
.step-round > li.active > a:focus:after {
  background-color: #FF6D52;
}
.step-round > li > a:before {
  position: absolute;
  z-index: 2;
  top: -2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  line-height: 2rem;
  box-shadow: 0 0 0 5px #ebebeb;
}
.step-round > li > a:after {
  position: absolute;
  left: 0;
  right: 0;
  top: -38%;
  background-color: #ebebeb;
  z-index: 1;
  height: 8px;
}
.in-box{ width: 1100px; margin-top: 80px; padding-bottom: 80px; clear:both;}
.in-box ul li{ float: left; width: 263px; margin: 0 51px;transition:all 200ms ease-in 0s;
cursor: pointer;text-align: center; padding-bottom: 50px; list-style-type: none;}
.in-icon{ width: 110px; height: 110px; margin: 28px auto 0 auto;}
.in-box ul li p{ font-size: 16px; color: #333; margin-top: 25px;}
.in-box ul li a{ width: 102px; height: 30px; border-radius: 3px; border: 1px solid #999; line-height: 30px; display: block;
margin: 18px auto 0 auto; color: #999}
.in-box ul li:hover{ background: #fd715a;}
.in-box ul li:hover p,.in-box ul li:hover a{color: #fff}
.in-box ul li:hover a{border:1px solid #fff;}
.in-a{background: url(../img/in-a-1.png) no-repeat;}
.in-box ul li:hover .in-a{ background: url(../img/in-a-2.png) no-repeat;}
.in-b{background: url(../img/in-b-1.png) no-repeat;}
.in-box ul li:hover .in-b{ background: url(../img/in-b-2.png) no-repeat;}
.in-c{background: url(../img/in-c-1.png) no-repeat;}
.in-box ul li:hover .in-c{ background: url(../img/in-c-2.png) no-repeat;}
.in-d{background: url(../img/in-d-1.png) no-repeat;}
.in-box ul li:hover .in-d{ background: url(../img/in-d-2.png) no-repeat;}
.in-e{background: url(../img/in-e-1.png) no-repeat;}
.in-box ul li:hover .in-e{ background: url(../img/in-e-2.png) no-repeat;}
.in-f{background: url(../img/in-f-1.png) no-repeat;}
.in-box ul li:hover .in-f{ background: url(../img/in-f-2.png) no-repeat;}