/* ============================================================
🎨 STYLE.CSS - BRISTLE CLOUD
📁 PATH  : /static/css/style.css
📌 FUNGSI: Gaya dasar halaman publik Bristle Cloud
============================================================ */


/* ============================================================
🔤 DASAR - FONT & RESET
============================================================ */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #eaeaea;
  color: #242424;
}

/* 📦 Sticky Layout Wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 📄 Konten utama fleksibel */
.main-content {
  flex: 1;
}

/* ============================================================
🔝 HEADER - NAVIGASI UTAMA
📁 Komponen: .header, .logo, .nav, .auth
============================================================ */
/* 🧱 Wrapper hitam gelap menyatu dengan background halaman */
.header-wrapper {
  background-color: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px;
  margin-bottom: 15px;
}

/* 💎 Header dalam: efek kartu putih melayang */
.header {
  background-color: #fafafa;
  border-radius: 9999px;
  padding: 15px 0;
  z-index: 101;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ------------------------------------------------------------
🔰 LOGO KIRI
------------------------------------------------------------ */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: #990000;
  letter-spacing: -2px;
}


/* ------------------------------------------------------------
🌐 NAVIGASI TENGAH DENGAN ICON (Font Awesome)
------------------------------------------------------------ */
.nav {
  display: flex;
  gap: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  width: auto;
  background-color: #eaeaea;
  padding: 3px 20px 3px 3px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: #242424;
  text-decoration: none;
  justify-content: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item i {
  background-color: #fafafa;
  color: #242424;
  border-radius: 9999px;
  padding: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-item:hover {
  background-color: #990000;
  color: #fafafa;
}

.nav-item:hover i {
  color: #990000;
}

/* ------------------------------------------------------------
🔐 AUTH KANAN (REGISTER & SIGN IN)
------------------------------------------------------------ */
.auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth-link {
  border: 1px solid #990000;
  color: #990000;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.auth-link:hover {
  color: #242424;
  border: 1px solid #242424;
}

.auth-button {
  background-color: #990000;
  border: 1px solid #990000;
  color: #fafafa;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.auth-button:hover {
  background-color: #242424;
  border: 1px solid #242424;
}

/* ===============================================================
📱 MOBILE MENU CARD
================================================================ */

/* 🔘 Tombol toggle hanya muncul di mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #990000;
  cursor: pointer;
}

/* 📦 Mobile menu wrapper */
.mobile-menu-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px;
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: absolute;
  top: 100%;
  right: 15px;
  left: auto;
  z-index: 9999;
  max-width: 200px;
  margin: 0;
  width: 100%;
}

/* 🔗 Link dalam menu */
.mobile-link {
  border: 1px solid #990000;
  color: #990000;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-link:hover {
  background-color: #f3f4f6;
}

/* 🔐 Tombol login dan register */
.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-button {
  background-color: #990000;
  border: 1px solid #990000;
  color: #fafafa;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-button:hover {
  background-color: #242424;
}

.hidden {
  display: none !important;
}

/* ===============================================================
📱 RESPONSIVE BEHAVIOR
================================================================ */
@media (max-width: 768px) {
  .nav,
  .auth {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============================================================
🔻 FOOTER STYLE - BRISTLE CLOUD
================================================================ */

.footer {
  background-color: #990000;
  margin: 50px 15px 15px 15px;
  padding: 16px 24px 20px 24px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  color: #eaeaea;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-right {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 12px;
}

.footer-icon {
  font-size: 25px;
  color: #fafafa;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-icon:hover {
  color: #242424;
}

.footer-bottom {
  font-size: 13px;
  color: #eaeaea;
  margin-top: 20px;
  margin-left: 50px;
  margin-right: 50px;
  border-top: 0.5px solid #eaeaea;
  padding-top: 20px;

}

/* ===============================================================
📱 FOOTER MOBILE STYLE - RESPONSIVE (≤ 768px)
📌 Menyesuaikan margin, padding, dan layout agar tidak terpotong
================================================================ */
@media (max-width: 768px) {
  .footer {
    margin: 30px 15px 15px 15px;
    padding: 15px;
    border-radius: 12px;
  }

  .footer-inner {
    gap: 10px;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
  }

  .footer-icon {
    font-size: 22px;
  }

  .footer-bottom {
    margin-left: 0;
    margin-right: 0;
    font-size: 12px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
  }
}

/* ================================================================
🎯 HERO SECTION - KONTEN UTAMA (RESPONSIVE)
================================================================ */
.hero-section {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-left: 15px;
  margin-right: 15px;
}

/* ================================================================
🎯 HERO CARD - KIRI & KANAN (SQUARE RESPONSIF BESAR)
================================================================ */

/* 🧾 KIRI - TEXT CARD */
.hero-left {
  flex: 1 1 0;
  min-width: 300px;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 32px;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* 📱 KANAN - IMAGE CARD */
.hero-right {
  flex: 1 1 600px;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================================
🎨 KONTEN KIRI - TEXT, CTA, DROPSHIPPER
================================================================ */
.hero-title {
  font-size: 70px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #242424;
  line-height: 1;
}

.hero-subtext {
  font-size: 16px;
  color: #494949;
  margin-bottom: 24px;
  max-width: 500px;
}

.cta-button {
  display: inline-block;
  background-color: #990000;
  color: #fafafa;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 2px solid #990000;
  text-decoration: none;
  transition: background-color 0.2s ease;
  text-align: center;
}

.cta-button:hover {
  background-color: transparent;
  color: #990000;
  border: 2px solid #990000;
}

/* 👥 Highlight dropshipper */
.hero-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-text {
  flex: 1;
  font-size: 14px;
  color: #444;
}

.stat-text strong {
  display: block;
  font-size: 18px;
  color: #242424;
  margin-bottom: 4px;
}

.stat-avatars img {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  margin-left: -5px;
  gap: 5px;
  border: 2px solid #eaeaea;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ================================================================
📱 RESPONSIVE BEHAVIOR
================================================================ */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    width: 100%;
  }

  .hero-left {
    aspect-ratio: unset;
  }

.hero-right {
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
  overflow: hidden;
  display: block;
  flex: none !important;
}

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .stat-avatars {
    margin-top: 12px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
    text-align: left;
  }

  .hero-subtext {
    font-size: 14px;
    text-align: left;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* 🔥 Animasi Fade Up Bristle */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.animate-fade-up.is-visible {
  animation: fadeUp 1s ease-out forwards;
}

/* ================================================================
📄 SIGNUP PAGE STYLE
================================================================ */
.signup-body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #eaeaea;
  height: 100vh;
  overflow: auto;
}

/* 🔲 Wrapper Layout */
.signup-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* 📷 Kiri: Slideshow */
.signup-left {
  flex: 2;
  position: relative;
  overflow: hidden;
  margin: 15px 0px 15px 15px;
  border-radius: 20px;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow img.active {
  opacity: 1;
  z-index: 1;
}

/* 📝 Kanan: Form */
.signup-right {
  flex: 1;
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin: 15px 15px 15px 0px;
}

.signup-form-box {
  width: 100%;
  max-width: 300px;
}

.signup-form-box h2 {
  color: #990000;
  margin-bottom: 0px;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
}

.signup-form-box form {
  display: flex;
  flex-direction: column;
}

.signup-form-box input {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.signup-form-box button {
  padding: 14px 20px;
  background: #990000;
  color: white;
  border: 1px solid #990000;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.signup-form-box button:hover {
  background: #242424;
  border: 1px solid #242424;
  color: #fafafa;
}

.signup-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}
.signup-logo img {
  height: 150px;
  margin-bottom: 6px;
}

.signup-subtitle {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 35px;
  margin-top: 0px;
}

.signin-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #444;
}
.signin-link a {
  color: #990000;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: none;
}
.signin-link a:hover {
  color: #242424;
}

.signup-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.signup-socials a {
  font-size: 20px;
  color: #242424;
  transition: color 0.2s ease;
}

.signup-socials a:hover {
  color: #990000;
}

.signup-divider {
  border-top: 10px solid #ccc;
  border-radius: 20px;
  margin: 15px 75px 30px 75px;
}

/* 🎯 Styling Khusus untuk Input ID Upline */
.input-upline {
  background-color: transparent;
  text-align: center;
}

/* Gaya umum untuk semua input saat aktif (focus) */
.signup-form-box input:focus,
.input-upline:focus {
  outline: none;
  border: 1.5px solid #eeeeee;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* ================================================================
🎞️ ANIMASI - FADE SLIDE UP
================================================================ */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-up {
  animation: fadeSlideUp 0.8s ease-out both;
}

.fade-delay-1 { animation-delay: 0.3s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.5s; }
.fade-delay-4 { animation-delay: 0.6s; }
.fade-delay-5 { animation-delay: 0.7s; }
.fade-delay-6 { animation-delay: 0.8s; }
.fade-delay-7 { animation-delay: 0.9s; }

/* ================================================================
📱 RESPONSIVE BEHAVIOR
================================================================ */

@media (max-width: 768px) {

  .signup-body {
    height: 100%;
  }

  .signup-left {
    display: none !important;
  }

  .signup-wrapper {
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 15px;
    justify-content: center;
    align-items: center;
  }

  .signup-right {
    width: 100%;
    margin: 0;
    padding: 30px 30px;
    background: #fafafa;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100svh - 20px);
    box-sizing: border-box;
    box-shadow: none;
  }

  .signup-form-box {
    max-width: 100%;
    width: 100%;
  }

  .signup-form-box h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .signup-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .signup-form-box input {
    padding: 8px 14px;
    font-size: 16px;
    margin-bottom: 12px;
  }

  .signup-form-box button {
    padding: 12px;
    font-size: 13px;
  }

  .signup-form-box button:hover {
    background: #990000 !important;
    color: white !important;
    border-color: #990000 !important;
  }

  .signup-divider {
    margin: 15px 75px 30px 75px;
  }

  .signup-logo img {
    height: 42px;
    margin-bottom: 8px;
  }

  .signin-link {
    font-size: 12px;
    margin-top: 16px;
  }

  .signup-socials {
    margin-top: 20px;
    gap: 16px;
  }

  .signup-socials a {
    font-size: 18px;
  }

  .input-upline {
    width: 100%;
    font-size: 12px;
    margin-bottom: 10px;
  }
}

/* ================================================================
📄 LOGIN PAGE STYLE
================================================================ */
.login-body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #eaeaea;
  height: 100vh;
  overflow: hidden;
}

/* 🔲 Wrapper Layout */
.login-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* 📷 Kiri: Slideshow */
.login-left {
  flex: 2;
  position: relative;
  overflow: hidden;
  margin: 15px 0px 15px 15px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow img.active {
  opacity: 1;
  z-index: 1;
}

/* 📝 Kanan: Form */
.login-right {
  flex: 1;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.05);
  margin: 15px 15px 15px 0px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.login-form-box {
  width: 100%;
  max-width: 300px;
}

.login-form-box h2 {
  color: #990000;
  margin-bottom: 0px;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
}

.login-form-box form {
  display: flex;
  flex-direction: column;
}

.login-form-box input {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.login-form-box button {
  padding: 14px 20px;
  background: #990000;
  color: white;
  border: 2px solid #990000;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-form-box button:hover {
  background: #fafafa;
  border: 2px solid #990000;
  color: #990000;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}
.login-logo img {
  height: 150px;
  margin-bottom: 6px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 35px;
  margin-top: 0px;
}

.signup-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #444;
}
.signup-link a {
  color: #990000;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: none;
}
.signup-link a:hover {
  color: #242424;
}

.login-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.login-socials a {
  font-size: 20px;
  color: #242424;
  transition: color 0.2s ease;
}
.login-socials a:hover {
  color: #990000;
}

.login-divider {
  border-top: 1px solid #ccc;
  margin: 30px 50px 30px;
}

.forgot-password {
  text-align: right;
  margin-bottom: 10px;
}

.forgot-password a {
  font-size: 12px;
  color: #242424;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password a:hover {
  color: #990000;
}

/* ================================================================
🎞️ ANIMASI - FADE SLIDE UP
================================================================ */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-up {
  animation: fadeSlideUp 0.8s ease-out both;
}

.fade-delay-1 { animation-delay: 0.3s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.5s; }
.fade-delay-4 { animation-delay: 0.6s; }
.fade-delay-5 { animation-delay: 0.7s; }
.fade-delay-6 { animation-delay: 0.8s; }
.fade-delay-7 { animation-delay: 0.9s; }

/* ================================================================
📱 RESPONSIVE - TAMPILAN MOBILE (≤768px)
================================================================ */
@media (max-width: 768px) {
  .login-left {
    display: none !important;
  }

  .login-wrapper {
    flex-direction: column;
    width: 100%;
    height: 100svh;
    box-sizing: border-box;
    padding: 0px 15px 15px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
  }

  .login-right {
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100svh - 30px);
    box-sizing: border-box;
    box-shadow: none;
  }

  .login-form-box {
    max-width: 100%;
    width: 100%;
  }

  .login-form-box h2 {
    font-size: 20px;
  }

  .login-logo img {
    height: 50px;
  }

  .login-divider {
    margin: 15px 0;
  }
}

/* ================================================================
🎉 SIGNUP SUCCESS STYLE
================================================================ */
.success-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100svh;
  background: #f2f2f2;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.success-box {
  max-width: 500px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  animation: fadeSlideUp 0.8s ease-out;
}

.success-icon {
  font-size: 100px;
  color: #990000;
  margin-bottom: 20px;
}

.success-box h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 12px;
}

.success-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.success-box .cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #990000;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.success-box .cta-button:hover {
  background-color: #242424;
  border: 2px solid #242424;
}

/* ================================================================
📌 STYLE: Notifikasi Proses Form (processing-note)
================================================================ */
.processing-note {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.5s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 🔁 Animasi fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
