/* resources/css/app.css */

/* Base Styles */
body,
.base-style {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background-color: #f9fafb;
}

/* Header */
/* .header-style {
  background-color: #492c7c;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7.5%;
  border-bottom: 1px solid #6d5696;
} */

/* Header */
.header-style {
  /* Rich deep purple to dynamic royal purple gradient base */
  background: linear-gradient(135deg, #371f61 0%, #492c7c 50%, #613e9d 100%);
  position: relative;
  overflow: hidden;
  
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7.5%;
  border-bottom: 1px solid #6d5696;
}

/* Subtle glossy shine overlay across the top half */
.header-style::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    180deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.02) 80%, 
    transparent 100%
  );
  pointer-events: none;
}

.header-style-outline {
  background-color: #492c7c;
}

/* Navigation */
.nav-container-style {
  display: flex;
  align-items: center;
}

.nav-logo-style {
  padding-bottom: 5px;
  /* width: 100%; */
}

.nav-ul-container-style {
  display: flex;
  list-style: none;
  padding-top: 20px;
}

.nav-ul-container-style.with-login {
  gap: 30px;
}

@media (max-width: 990px) {
  .nav-ul-container-style {
    display: none;
  }
}

.nav-link-style {
  text-decoration: none;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  margin-left: 30px;
  white-space: nowrap;
  color: #ffffff;
}
.nav-ul-container-style li a:hover {
  text-decoration: none;
  color: #fcce34 !important;
}

.active-link {
  color: #fcce34 !important;
}

.nav-signup-link-style {
  padding: 10px 18px;
  border-radius: 8px;
  background: #dbd5e5;
  border: 1px solid #dbd5e5;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  color: #492c7c;
}

.nav-signup-link-style {
  padding: 10px 18px;
  border-radius: 8px;
  background: #dbd5e5;
  border: 1px solid #dbd5e5;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  color: #6424d5;
}

.nav-signup-link-style:hover {
  color: #6424d5;
}

.nav-signup-link-style:focus {
  color: #6424d5;
}


.nav-signup-link-style.signup-link:hover {
  color: #6424d5 !important;
}

.nav-signup-link-style.signup-link:focus {
  color: #6424d5 !important;
}

signup-link

/* ============================================
 MOBILE MENU - ADD THIS TO YOUR EXISTING CSS
 ============================================ */

/* Hamburger Button - Hidden on desktop */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  z-index: 1001;
  order: 3; /* Push to the right */
}

.hamburger {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #492c7c;
  padding: 30px 7.5% 40px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 2px solid #6d5696;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu ul li {
  padding: 0;
  margin: 0;
}

.mobile-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: #fcce34;
  padding-left: 10px;
}

.mobile-menu ul li a.active-link {
  color: #fcce34 !important;
}

.mobile-menu .mobile-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0;
  padding: 0 !important;
  list-style: none;
}

.mobile-menu .mobile-signup-btn {
  display: inline-block;
  padding: 12px 24px !important;
  background: #dbd5e5 !important;
  color: #492c7c !important;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  border-bottom: none !important;
}

.mobile-menu .mobile-signup-btn:hover {
  background: #ffffff !important;
  color: #492c7c !important;
  padding-left: 24px !important;
}

/* ============================================
 RESPONSIVE BREAKPOINTS
 ============================================ */

/* Tablet and Mobile - 997px and below */
@media (max-width: 997px) {
  /* Hide desktop navigation */
  .desktop-nav {
    display: none !important;
  }

  .header-style .nav-ul-container-style {
    display: none !important;
  }

  /* Show hamburger */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Adjust header */
  .header-style {
    min-height: 70px;
    padding: 0 5%;
  }

  .nav-logo-style {
    max-width: 120px;
    padding-bottom: 0;
  }
}

/* Desktop - 998px and above */
@media (min-width: 998px) {
  .mobile-menu {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .desktop-nav {
    display: block !important;
  }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  .header-style {
    min-height: 60px;
    padding: 0 4%;
  }

  .nav-logo-style {
    max-width: 100px;
  }

  .mobile-menu {
    top: 60px;
    padding: 20px 5% 30px;
    max-height: calc(100vh - 60px);
  }

  .mobile-menu ul li a {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* Fix: Ensure header uses flex to position items */
.header-style {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Fix: nav-container-style should not take all space */
.nav-container-style {
  display: flex;
  align-items: center;
  flex: 1;
}

/* ============================================
 AUTH / LOGIN PAGE STYLES
 ============================================ */

/* Auth Header */
.auth-header {
  background-color: #492c7c;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 0 7.5%;
  border-bottom: 1px solid #6d5696;
}

.auth-header-container {
  display: flex;
  align-items: center;
}

.auth-logo {
  padding-bottom: 5px;
  width: 100%;
}

/* Auth Main Layout */
.auth-main {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: calc(100vh - 80px);
}

/* Auth Navigation - Back to home */
.auth-nav {
  padding: 0 7.5%;
  background-color: #fff;
  min-height: 80px;
  padding-top: 40px;
}

.auth-nav a {
  display: flex;
  align-items: center;
  gap: 1px; /* Space between icon and text */
  text-decoration: none;
  color: #101828;
  background-color: #fff;
}

.auth-nav a img {
  display: inline-block;
  width: 20px; /* Adjust as needed */
  height: 20px; /* Adjust as needed */
}

.auth-nav a h6 {
  display: inline-block;
  margin: 0; /* Remove default margins */
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  width: 100% !important;
}

@media (max-width: 800px) {
  .auth-nav a {
/*     max-width: 30px; */
  }
}

.auth-nav a img {
  margin-right: 25px;
}

@media (max-width: 800px) {
  .auth-nav a h1 {
    display: none;
  }
}

/* Auth Section - Form Container */
.auth-section {
  min-height: 80vh;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}


/* ============================================
 AUTH / FORM REGISTER PAGE STYLES
 ============================================ */
.auth-form {
  max-width: 505px;
  padding: 10px 5px 40px 5px;
  width: 100%;
  background-color: #f9fafb;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  border: 1px solid #eaecf0;
}

.auth-form.signup {
  max-width: 705px;
}

.auth-form h1 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  color: #101828;
  margin-bottom: 12px;
}

.auth-form h2 {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #344054;
  margin-bottom: 32px;
}

/* Form Groups */
.auth-form .form-group {
  margin-bottom: 24px;
}

.auth-form .form-group label {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #344054;
  display: block;
  margin-bottom: 6px;
}

.auth-form .form-group input {
  margin: 0;
  background-color: #ffffff;
  width: 100%;
  padding: 10px 14px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.auth-form .form-group input:focus {
  outline: none;
  border-color: #492c7c;
  box-shadow: 0 0 0 3px rgba(73, 44, 124, 0.1);
}

.auth-form .form-group input.is-invalid {
  border-color: #b42318;
}

/* Error Messages */
.auth-form .error-message {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #b42318;
  margin-top: 4px;
}

/* Forgot Password */
.auth-form .forgot-password {
  text-align: right;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 24px;
}

.auth-form .forgot-password a {
  color: #492c7c;
  text-decoration: none;
}

.auth-form .forgot-password a:hover {
  text-decoration: underline;
}

/* Submit Button */
.auth-form .auth-submit-btn {
  width: 100%;
  height: 52px;
  background: #492c7c;
  border: 1px solid #492c7c;
  border-radius: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  /* margin-bottom: 32px; */
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.auth-form .auth-submit-btn:hover {
  background: #3a2364;
}

.auth-form .auth-submit-btn:disabled {
  background: #492c7c;
  cursor: not-allowed;
}

/* Footer Link - Sign Up */
.auth-form .auth-footer-link {
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #667085;
  font-family: 'Poppins', sans-serif;
}

.auth-form .auth-footer-link a {
  margin-left: 4px;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #492c7c;
}

.auth-form .auth-footer-link a:hover {
  text-decoration: underline;
}

/* ============================================
   PASSWORD TOGGLE - FIXED (Button Inside Input)
============================================ */

.auth-form .password-wrapper {
  position: relative;
  width: 100%;
}

.auth-form .password-wrapper .form-control {
  width: 100%;
  height: 44px;
  padding: 10px 48px 10px 14px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #101828;
  transition: border-color 0.3s ease;
  display: block;
  box-sizing: border-box;
}

.auth-form .password-wrapper .form-control:focus {
  outline: none;
  border-color: #492c7c;
  box-shadow: 0 0 0 3px rgba(73, 44, 124, 0.1);
}

.auth-form .password-wrapper .password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  color: #475467;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 5;
  line-height: 1;
  width: auto;
  height: auto;
  box-shadow: none !important;
}

.auth-form .password-wrapper .password-toggle-btn:hover {
  color: #492c7c;
}

.auth-form .password-wrapper .password-toggle-btn:focus {
  outline: none;
  box-shadow: none !important;
}

.auth-form .password-wrapper .password-toggle-btn i {
  font-size: 18px;
  display: inline-block;
  pointer-events: none;
}

/* ============================================
ERROR CARD (Optional - if needed)
============================================ */
.auth-error-card {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 466px;
  padding: 16px;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 12px;
}

@media (max-width: 530px) {
  .auth-error-card {
    width: 358px;
  }
}

.auth-error-card .error-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.auth-error-card .error-card-header p {
  display: flex;
  align-items: center;
  margin: 0;
}

.auth-error-card .error-card-header p img {
  margin-right: 13px;
  cursor: pointer;
}

.auth-error-card .error-card-header img {
  cursor: pointer;
}

.auth-error-card .error-card-header h4 {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #b42318;
  margin: 0;
}

.auth-error-card .error-card-message {
  padding: 0 32px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: #b42318;
  margin: 0;
}

/* Responsive */
@media (max-width: 530px) {
  .auth-form {
    padding: 10px 20px 40px 20px;
  }
}

@media (max-width: 480px) {
  .auth-header {
    min-height: 60px;
    padding: 0 4%;
  }

  .auth-nav {
    padding-top: 20px;
    min-height: 60px;
  }

  .auth-form h1 {
    font-size: 24px;
    line-height: 32px;
  }
}

h3.help-text {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(52, 64, 84);
}

h3.help-text span {
  font-weight: 600;
}

/* ============================================
FOOTER STYLE (Optional - if needed)
============================================ */

/* Footer */
.footer-style {
  background: #fff;
  background: linear-gradient(180deg, #fff 40%, #492c7c 40%);
}

@media (max-width: 990px) {
  .footer-style {
    background: linear-gradient(180deg, #fff 36%, #492c7c 36%);
  }
}

.footer-section-con-style {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*! width: 100%; */
  /*! padding: 0 16px; */
  padding: 50px 16px 0px 16px;
}

.footer-section-style1 {
  /* width: 100%;
  max-width: 1216px; */
  min-height: 242px;
  background: #9280b0;
  margin-top: 176px;
  box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08),
    0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  border-radius: 16px;
  padding: 4rem 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 990px) {
  .footer-section-style1 {
    padding: 69px 5%;
  }
}

.footer-section-style1 div {
  width: 768px;
}

.footer-section-style1 div h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-section-style1 div p {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
}

@media (max-width: 990px) {
  .footer-section-style1 div {
    width: 100%;
    margin-bottom: 39px;
  }
}

.footer-section-style1 ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 columns */
  gap: 4px; /* Space between items */
  padding: 0;
  margin: 0;
}

.footer-section-style1 ul li {
  padding: 12px 20px;
  margin-left: 12px;
  border-radius: 8px;
}

.footer-section-style1 ul li a {
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 990px) {
  .footer-section-style1 ul li a {
    font-size: 14px !important;
  }
}

.footer-section-style1 ul li:first-child {
  background: #ffffff;
}

.footer-section-style1 ul li:first-child a {
  color: #492c7c;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.footer-section-style1 ul li:nth-child(2) {
  background: #492c7c;
  border: 1px solid #492c7c;
}

.footer-section-style1 ul li:nth-child(2) a {
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
}

@media (max-width: 997px) {
  .footer-section-style1 ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .footer-section-style1 ul li {
    width: 100%;
    margin-left: 0;
    margin-bottom: 12px;
    text-align: center;
  }
}

.footer-section-style2 {
  width: 100%;
  max-width: 1216px;
  background: #492c7c;
  margin-top: 5.5%;
}

/* Footer Contact */
.footer-contact-style {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 42px;
  border-bottom: 2px solid #9280b0;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

@media (max-width: 990px) {
  .footer-contact-style {
    padding-bottom: 10px;
  }
}

.footer-contact-style div {
  width: 360px;
}

.footer-contact-style div li {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.footer-contact-style div li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-style div h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-contact-style div form input {
  width: 226px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #98a2b3;
  padding: 14px;
  outline: none;
  margin-right: 16px;
}

@media (max-width: 990px) {
  .footer-contact-style div form input {
    width: 100%;
    margin-bottom: 16px;
  }
}

.footer-contact-style div form button {
  align-items: center;
  padding: 10px 18px;
  gap: 8px;
  width: 118px;
  height: 44px;
  background: #009444;
  border: 1px solid #009444;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
}

@media (max-width: 990px) {
  .footer-contact-style div form button {
    width: 100%;
  }
}

@media (max-width: 990px) {
  .footer-contact-style div {
    width: 100%;
    margin-bottom: 32px;
  }
}

.footer-contact-style img {
  margin-bottom: 39px;
}

.footer-contact-ul-style {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  flex-wrap: wrap;
  padding-inline-start: 0px;
}

.footer-inner-section2-style {
  margin-bottom: 58px;
}

.footer-inner-section2-style a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 990px) {
  .footer-inner-section2-style li {
    margin-bottom: 26px;
  }

  .footer-contact-ul-style {
    display: block;
  }
}

.footer-terms-style {
  /* width: 204px; */
  padding-inline-start: 0;
  display: flex;
  gap: 10px;
}

@media (max-width: 990px) {
  .footer-terms-style {
    width: 100%;
  }
}
.subscribe-form {
  display: flex;
}

@media (max-width: 990px) {
  .subscribe-form {
    display: block;
  }
}

/* ============================================
AUTH ERROR STYLE (Optional - if needed)
============================================ */

.field-error {
  border: 2px solid red !important;
  background-color: #fff0f0;
  transition: border-color 0.3s ease;
}

.field-error:focus {
  border-color: #ff0000 !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
  outline: none;
}

.field-error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
Invitation ERROR STYLE (Optional - if needed)
============================================ */

.field-success {
  border: 2px solid #16a34a !important;
  background-color: #f0fdf4 !important;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.field-success:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
  outline: none;
}

/* Invitation status indicator */
.invitation-status {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  margin-top: 5px;
  padding: 4px 0;
  animation: slideDown 0.3s ease forwards;
}

.invitation-status .spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #6b7280;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}