body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #ff7aa2, #ffb4c6);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
  }

  .login-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    width: 100%;
    /* max-width: 420px; */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    text-align: center;
  }

  .login-card h2 {
    font-weight: 700;
    margin-bottom: 15px;
  }

  .login-card small {
    color: #666;
  }

  .btn-pink {
    background: #ff4f86;
    border: none;
    color: #fff;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 17px;
  }
  .btn-pink:hover {
    background: #ff2d71;
  }
  .btn-primary {
    background: #ff4f86;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
    font-size: 17px;
  }

  .btn-outline-primary{
    border: 1px solid #d63384 !important;
    color: #b02a6f !important;
    background-color: white !important;
  }
  .btn-outline-primary:hover{
    border: 1px solid #d63384 !important;
    color: #fff !important;
    background-color: #d63384 !important;
  }

  .btn-primary:hover {
    background: #ff2d71; text-decoration: none;
  }

  .form-control {
    border-radius: 10px;
    padding: 12px;
  }

  a {
    color: #ff2d71;
    font-weight: 500;
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }

  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
  }

  .profile-card {
    /* max-width: 500px; */
    margin: 50px auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 0px !important;
  }

  .profile-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
  }

  .profile-card h2 {
    margin-bottom: 5px;
    font-weight: 600;
  }

  .profile-card .age {
    color: #6c757d;
    margin-bottom: 15px;
  }

  .profile-card .bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .profile-card .interests span {
    background-color: #ffe0e6;
    color: #d63384;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
  }

  .btn-pink {
    background-color: #d63384;
    color: #fff;
  }

  .btn-pink:hover {
    background-color: #b02a6f;
    color: #fff;
  }

  /* Sidebar for desktop */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 220px;
    /* background-color: #d63384 !important; */
    background: linear-gradient(45deg, #d63384, #ff4081) !important;
    /* border-right: 1px solid #dee2e6; */
    padding: 20px;
    display: none; /* hidden on mobile */
  }
  
  .sidebar h3 {
    font-weight: 600;
    margin-bottom: 30px;
  }
  
  .sidebar a {
    display: block;
    color: #495057;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
  }
  
  .sidebar a:hover, .sidebar a.active {
    color: #d63384;
  }
  
  /* Main content shifted for desktop */
  .main-content {
    margin-left: 0;
    padding: 20px;
    transition: margin-left 0.3s;
  }
  
  @media(min-width: 992px){
    .sidebar {
      display: block;
    }
    .main-content {
      margin-left: 220px;
    }
  }
  
  /* Bottom navbar for mobile */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #d63384 !important;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
  }
  
  .bottom-nav a {
    text-align: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
  }
  
  .bottom-nav a i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  
  .bottom-nav a.active {
    color: #d63384;
  }
  
  @media(min-width: 992px){
    .bottom-nav {
      display: none;
    }
  }
  

  /* Profile card */
  .profile-card {
    /* max-width: 500px; */
    margin: 50px auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
  }
  
  .profile-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  
  .profile-card .interests span {
    background-color: #ffe0e6;
    color: #d63384;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
  }
  
  .btn-pink {
    background-color: #d63384;
    color: #fff;
  }
  
  .btn-pink:hover {
    background-color: #b02a6f;
    color: #fff;
  }

  
  /* Sidebar for desktop */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 220px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    padding: 20px;
    display: none; /* hidden on mobile */
    color: #fff;
  }
  
  .sidebar h3 {
    font-weight: 600;
    margin-bottom: 30px;
    
    color: #fff;
  }
  
  .sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 20px !important;
    transition: color 0.3s;
  }
  
  .sidebar a:hover, .sidebar a.active {
    color: #ffd6e0; /* lighter pink on hover/active */
  }
  
  /* Main content shifted for desktop */
  .main-content {
    margin-left: 0;
    padding: 20px;
    transition: margin-left 0.3s;
  }
  
  @media(min-width: 992px){
    .sidebar {
      display: block;
    }
    .main-content {
      margin-left: 220px;
    }
  }
  
  /* Bottom navbar for mobile */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #d63384;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
  }
  
  .bottom-nav a {
    text-align: center;
    color: #ffff;
    text-decoration: none;
    font-size: 0.85rem;
  }
  
  .bottom-nav a i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  
  .bottom-nav a.active {
    color: #ffff;
  }
  
  @media(min-width: 992px){
    .bottom-nav {
      display: none;
    }
  }
  
  .text-sm{
    font-size: 12px !important;
  }

  /* Matches grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  /* Match card */
  .match-card {
    background-color: #fff;
    border-radius: 15px;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .match-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 10px;
  }
  
  .match-card h5 {
    margin-bottom: 5px;
  }
  
  .match-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
  }
  
  .match-card .btn-like,
  .match-card .btn-dislike {
    width: 45%;
    margin: 2.5%;
  }
  
  .btn-pink {
    background-color: #d63384;
    color: #fff;
  }
  
  .btn-pink:hover {
    background-color: #b02a6f;
    color: #fff;
  }
  
  /* Bottom navbar */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
  }
  
  .bottom-nav a {
    text-align: center;
    color: #495057;
    text-decoration: none;
    font-size: 0.85rem;
  }
  
  .bottom-nav a i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
  
  .bottom-nav a.active {
    color: #d63384;
  }
  
  @media(min-width: 992px){
    .bottom-nav {
      display: none;
    }
  }

.swipe-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  padding: 20px;
}

.tmp-h{
  height: 120vh;
}

.bard{
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.match-card {
  position: absolute;
  width: 100%;
  max-width: 500px;
  height: 60vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: transform 0.5s, opacity 0.5s;
}

.match-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 20px;
}

.match-card h2 {
  margin-top: 10px;
}

.match-card p {
  flex-grow: 1;
  margin: 10px 0;
  color: #6c757d;
}

.match-card .btns {
  display: flex;
  justify-content: space-around;
  /* margin-top: 10px; */
}

.btn-like {
  background-color: #d63384;
  color: #fff;
  width: 45%;
}

.btn-like:hover {
  background-color: #b02a6f;
}

.btn-dislike {
  background-color: #fff;
  color: #d63384;
  border: 2px solid #d63384;
  width: 45%;
}

.btn-dislike:hover {
  background-color: #f8d1dd;
}

/* Flip animation classes */
.flip-next {
    transform: rotateY(-180deg);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }
  
  .flip-prev {
    transform: rotateY(180deg);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }
  
  /* Ensure 3D perspective for parent container */
  .swipe-container {
    perspective: 1200px;
  }
  
  .match-card {
    transform-style: preserve-3d;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }
  
  /* Floating chat bubble */
#chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: transparent;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 0px;
  }
  
  /* Chat container */
  #chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    max-width: 100%;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  #chat-widget.fullscreen {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
  
  /* Header */
  #chat-header {
    background: #b02a6f;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Chat panels container */
  #chat-contents {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
  }
  
  /* Panels */
  .chat-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  
  .chat-panel.hidden {
    transform: translateX(100%);
  }
  
  /* Chat heads list */
  .chat-head {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  
  .chat-head img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  /* Chat messages */
  #chat-messages {
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: calc(100% - 60px); /* adjust for input */
    overflow-y: auto;
  }
  
  .message {
    margin-bottom: 10px;
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    word-wrap: break-word;
  }
  
  .message.sent {
    background: #f8d1dd;
    color: #000;
    align-self: flex-end;
    margin-left: auto;
  }
  
  .message.received {
    background: #d63384;
    color: black;
    align-self: flex-start;
    margin-right: auto;
  }
  
  .message-time {
    font-size: 0.7em;
    color: gray;
    display: block;
    margin-top: 2px;
    text-align: right;
  }
  
  /* Input area */
  #chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
  }
  
  #chat-input input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
  }
  
  #chat-input button {
    margin-left: 8px;
    border-radius: 20px;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    #chat-widget {
      width: 100%;
      height: 100%;
      bottom: 0;
      right: 0;
      border-radius: 0;
    }
  }
  /* Modal background */
.edit-profile-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Modal content */
  .edit-profile-content {
    background: #fff;
    margin: 50px auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    position: relative;
  }
  
  /* Fullscreen for mobile */
  @media (max-width: 768px) {
    .edit-profile-content {
      width: 100%;
      height: 100%;
      margin: 0;
      border-radius: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  }
  
  /* Close button */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  
  /* Form styling */
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  .form-group input {
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
  }

  /* Full-page overlay that truly covers entire viewport */
  #notificationsOverlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;      /* Full viewport width */
    height: 100vh!important;     /* Full viewport height */
    background: rgba(255,255,255,0.95);
    z-index: 9999 !important;     /* Ensure it’s above everything */
    display: none !important;
    overflow-y: auto !important;  /* Scroll if content too tall */
  }

  /* Close button top-right */
  #notificationsOverlay .close-btn {
    position: fixed !important;   /* Fixed to viewport */
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000 !important;    /* above overlay content */
  }

  /* Notifications list */
  #notificationsList .notification-item {
    border-bottom: 1px solid #ddd;
    padding: 12px 20px;
  }

  .logo{
    width: 200px !important
  }

  .logo-sm{
    width: 50px !important
  }

  .connection-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 1.25rem;
  }
  .connection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
  }
  .connection-card-content {
    position: relative;
    color: #fff;
    padding: 1rem 1.25rem;
    width: 100%;
  }
  .badge-kids {
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.4);
    backdrop-filter: blur(6px);
  }
  .img-sm{
    width: 25px;
    height: 25px;
  }

  .bg-default{
    background-color: #eeeeee;
  }
  .text-primary{
    color: #b02a6f !important;
  }

  .btn-default {
    color: #212529;             /* Bootstrap default text color */
    background-color: #eeeeee;  /* Your light gray background */
    border: 1px solid #ced4da;  /* Match Bootstrap default border */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
  }
  
  .btn-default:hover {
    background-color: #e0e0e0; /* Slightly darker on hover */
    border-color: #adb5bd;
    color: #212529;
  }
  
  .loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;       /* light grey */
    border-top: 3px solid #ff69b4;   /* pink */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;          /* align with text */
    margin-left: 8px;                /* spacing from text */
}

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

/* Base shimmer */
.shimmer {
  position: relative;
  overflow: hidden;
  background: #e0e0e0;
  border-radius: 4px;
}

/* Avatar */
.shimmer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

/* Name */
.shimmer-name {
  height: 20px;
  width: 60%;
  margin: 0 auto;
}

/* Text lines */
.shimmer-text {
  height: 15px;
  width: 100%;
}

.shimmer-text.short {
  width: 50%;
}

/* Goals & DealBreakers sections */
.shimmer-goals, .shimmer-dealbreakers {
  height: 30px;
  width: 100%;
}

/* Shimmer animation */
.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.5) 50%,
      rgba(255,255,255,0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -150px; }
  100% { left: 100%; }
}


.btns.active {
  background-color: #ff69b4 !important;
  border-color: #ff69b4 !important;
  color: white !important;
}

.badge-safety {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5em 0.8em;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: all 0.3s ease;
}

.badge-safety.inactive {
  background: #6c757d;
  color: #fff;
}

.bg-primary{
  background-color: #ff69b4 !important;
  border-color: #ff69b4 !important;
  color: #ffffff !important;
}

.super-chat {
  background: linear-gradient(45deg, gold, orange);
  color: black;
  font-weight: bold;
  border: 2px solid gold;
  box-shadow: 0 0 10px gold;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.05); opacity: 0.9; }
}
.chat-action{
  font-size: 25px !important;
}

.nav-link{
  color: #666666 !important;
}

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

.active>.page-link, .page-link.active{
  background-color: #b02a6f !important;
  border-color: #b02a6f !important;
  color: #ffffff !important;
}

.page-link{
  color: #b02a6f !important;
}



/* Gradient for text and icons */
.text-gradient {
  background: linear-gradient(45deg, #d63384, #ff4081);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient for badges and buttons */
.bg-gradient {
  background: linear-gradient(45deg, #d63384, #ff4081) !important;
}

/* Premium Card Hover */
.premium-card {
  border-radius: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(214, 51, 132, 0.4);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(45deg, #d63384, #ff4081);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
  text-decoration: none !important;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(214, 51, 132, 0.5);
}

/* Responsive text sizing */
@media (max-width: 576px) {
  .card-title { font-size: 1.1rem; }
  .card-text { font-size: 0.9rem; }
  .fs-1 { font-size: 2rem !important; }
}

.no-underline{
  text-decoration: none !important;
}
.no-underline:hover{
  text-decoration: none !important;
}



.related-users {
  scrollbar-width: thin;
  scrollbar-color: #d63384 rgba(0,0,0,0.1);
}

.related-users::-webkit-scrollbar {
  height: 6px;
}

.related-users::-webkit-scrollbar-thumb {
  background-color: #d63384;
  border-radius: 3px;
}

.user-card {
  flex: 0 0 auto; /* prevents shrinking, keeps width */
  width: 80px;     /* adjust as needed */
  transition: transform 0.3s;
}

.img-md{
  width: 100px; height: 100px;
}
.user-card:hover {
  transform: scale(1.1);
}

.related-users {
  scroll-snap-type: x mandatory;
}

.user-card {
  scroll-snap-align: start;
}

.text-ellipsis {
  white-space: nowrap;      /* prevent wrapping */
  overflow: hidden;         /* hide overflow */
  text-overflow: ellipsis;  /* show "..." */
  max-width: 100px;         /* adjust width as needed */
}

.bg-primary-s{
  background-color: #511232 !important;
  color: #ffffff !important;
}

.text-lg{
  font-size: 50px !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.connection-card.fade-in.visible {
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.3); /* subtle pink glow */
}

.alert-pink {
  background-color: #ffe6f2;
  color: #b30059;
  border-color: #ffb3d9;
}

/* container to hold the FAB (bottom-right) */
.fab-container {
  position: fixed;
  right: 20px;
  bottom: 94px;
  z-index: 1080; /* above most things but below modals */
  display: flex;
  gap: 8px;
  align-items: center;
}

/* transparent circular button */
.fab-btn {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12); /* subtle border */
  background: transparent; /* transparent background as requested */
  color: #ff2d7f; /* icon color — adjust to taste */
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(25, 25, 25, 0.12);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  cursor: pointer;
  backdrop-filter: blur(4px); /* subtle glass effect on supported browsers */
}

/* Hover/focus styles */
.fab-btn:hover,
.fab-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(25, 25, 25, 0.18);
  outline: none;
  background: rgba(255, 45, 127, 0.06); /* faint colored hover */
}

/* If you want it more subtle on light backgrounds, adjust border/text */
@media (prefers-color-scheme: light) {
  .fab-btn {
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(10,10,10,0.06);
    color: #d63384;
  }
  .fab-btn:hover { background: rgba(214,51,132,0.06); }
}

.otp-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.5rem;
  margin: 0 5px;
  border-radius: 8px;
}
.otp-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Orange to Gold Gradient for badges and buttons */
.bg-gradient-orange-gold {
  background: linear-gradient(45deg, #ff7f50, #ffd700) !important;
}

/* Gradient button for pink theme */
.btn-gradient-pink {
  background: linear-gradient(45deg, #d63384, #ff4081);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(214, 51, 132, 0.4);
}


.message-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.msg-badge {
  background: #ffffff;
  border: 1px solid #d1d1d1;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #333;
  display: inline-block;
  max-width: 300px;
}


/* allow the next slide to show */
#peekCarousel .carousel-inner {
  /* overflow: visible; */
}

/* shrink slides so the next one peeks */
#peekCarousel .slide-img {
  width: 100%;         /* adjust for more/less peek */
  margin-left: 0;     /* left aligned so next slide shows on right */
  border-radius: 10px;
}


.msg-row[data-sender="me"] {
  justify-content: flex-end;
}

.msg-row[data-sender="me"] .msg-bubble {
  background-color: #0d6efd;
  color: white;
}
