html, body {
  height: 100%;
  margin: 0;
}

a, div {
      -webkit-tap-highlight-color: transparent !important;
      text-decoration: none;
  }
.navbar-brand, .nav-link{
    color: #333 !important;
}


.backdrop{
border-radius: 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
max-width: 1200px;

}
.classic_btn, .sfloatingInput{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    color: #506efe;
    border: 2px solid #506efe; 
    border-radius: 24px !important;
    transition: background-color 0.3s ease;
}
.classic_btn{
    background-color: #1D59F9 !important;
    color: #fff !important;
}
.classic_btn:hover{
    background-color: #1D59F9;
    color: #fff;
}
.bg_white{
background: #f1fdfdff !important;
border: 2px solid #f1fdfdff !important;
}

.badge {
    padding: 0.5em 0.75em !important;
    font-size: 0.9em !important;
    
}


.hidden {
    display: none;
}

#chat-section {
    height: 500px;
    display: flex;
    flex-direction: column;
}

#messages-container {
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
}

.sent {
    background-color: #fff;
    align-self: flex-end;
}

.received {
    background-color: #fff;
    align-self: flex-start;
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.navbar-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #666;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}


.step-icon {
    font-size: 2rem;
    background: #f0f4ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: #666;
}

.get-started {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.get-started button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}
.footer-text {
  font-size: x-small;
}
.header-bar {
  height: 46px;
}
.logout-button {
  width: 32px;
  height: 30px;
}
.signup-blocked-container {
  min-height: 100vh;
  max-width: 950px;
}
.exchange-container {
  max-width: 950px;
}

/* 
html, body {
  overflow-x: hidden;
}

.page-wrapper {
  transition: margin-right 0.4s ease, transform 0.4s ease;
  position: relative;
  z-index: 2;
}


.right-modal .modal-dialog {
  position: fixed;
  top: 46px; 
  right: 0;
  margin: 0;
  height: calc(100% - 46px);
  width: 400px;
  max-width: 90%;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  pointer-events: none;
  z-index: 1050 !important;
}

.right-modal.show .modal-dialog {
  transform: translateX(0);
  pointer-events: auto;
}

.right-modal .modal-content {
  height: 100%;
  border: none;
  border-left: 1px solid #eee;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

body.drawer-open .page-wrapper {
  margin-right: 400px; 
}


body.drawer-open::after {
  content: "";
  position: fixed;
  top: 46px;
  left: 0;
  width: 100%;
  height: calc(100% - 46px);
  background: rgba(0, 0, 0, 0.05); 
  pointer-events: none; 
  transition: opacity 0.4s ease;
  opacity: 1;
  z-index: 0; 
}

body::after {
  opacity: 0;
}



.right-modal .modal-header {
  flex-shrink: 0;
  border-bottom: none !important;
}


@media (max-width: 768px) {
  body.drawer-open .page-wrapper {
    margin-right: 0;
  }

  .right-modal .modal-dialog {
    top: 0;
    height: 100%;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }

  .right-modal.show .modal-dialog {
    transform: translateY(0);
  }

  .right-modal .modal-content {
    border-radius: 0;
  }
}

 */






.centered-modal .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; 
}

.centered-modal .modal-content {
  margin: 0 auto;
  border-radius: 1rem;
}



 /* ========================================
   Right-Side Drawer — Non-blocking version
   ======================================== */
html, body {
  overflow-x: hidden;
}

/* Page content shifts smoothly */
.page-wrapper {
  transition: margin-right 0.4s ease;
  position: relative;
  z-index: 1;
}

/* Drawer container */
.right-modal {
  pointer-events: none; /* ✅ allows page interaction */
}

.right-modal .modal-dialog {
  position: fixed;
  top: 46px; 
  right: 0;
  height: calc(100% - 46px);
  width: 400px;
  max-width: 90%;
  margin: 0;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1050;
  pointer-events: auto;
}

/* Slide in */
.right-modal.show .modal-dialog {
  transform: translateX(0);
}

/* Modal content */
.right-modal .modal-content {
  height: 100%;
  border: none;
  border-left: 1px solid #eee;
  border-radius: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

/* Push main content left when drawer opens */
body.drawer-open .page-wrapper {
  margin-right: 400px; /* same as modal width */
}

/* ✅ Ensure page is still clickable */
body.drawer-open {
  overflow: visible !important;
}

/* Optional subtle overlay (doesn't block clicks) */
body.drawer-open::after {
  content: "";
  position: fixed;
  top: 46px;
  left: 0;
  width: 100%;
  height: calc(100% - 46px);
  background: rgba(0,0,0,0.05);
  pointer-events: none;
  z-index: 1;
}

/* Mobile override — modal covers screen */
@media (max-width: 768px) {
  body.drawer-open .page-wrapper {
    margin-right: 0;
  }

  .right-modal .modal-dialog {
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    transform: translateY(100%);
  }

  .right-modal.show .modal-dialog {
    transform: translateY(0);
  }
}
