.participants-list{
    width: 90%;
    max-width: 350px;
    max-width: 350px;
    margin: 0 auto; /* Center horizontally */
    margin-top: 80px;
    padding-bottom:60px;

    justify-content: center;
    align-items: center;
}

body.ios-webview .participants-list{
  margin-top: 130px !important;
}

.participants-list ul {
    list-style: none;
    padding: 0;
  }


  .host-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .host-name {
    font-weight: 600;
    color: #837585;
    font-size: 18px;
  }

  .section-label {
    font-size: 14px;
    font-weight: bold;
    color: #837585;
    margin: 24px 0 8px;
  }
  
  
  .participant-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }
  
  .image-border-wrapper {
    background: linear-gradient(135deg, #F7B2F7, #F57FF5);
    padding: 3px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
  }
  
  .participant-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
  }
  
  .participant-name {
    font-size: 16px;
    font-weight: 500;
    color: #837585; /* ← updated text color */
  }
  
.gm-style .gm-style-iw {
    z-index: 9999 !important;
    pointer-events: auto !important;
  }

/* Make the map cover the whole screen */
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0; /* Ensures the map is behind floating UI elements */
    overflow: visible !important;  /* Allow InfoWindow to overflow properly */

}

/* Hide bottom right UI elements from Google Maps */
.gm-style .gm-style-cc,
.gm-control-active,
.gmnoprint,
.gm-fullscreen-control {
  display: none !important;
}


/* Floating UI Elements */
.floating-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

body.ios-webview .floating-buttons {
    position: absolute;
    top: 50px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}


.location-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 127, 245, 0.7); /* transparent F57FF5 */
    color: white;
    text-align: center;
    padding: 8px 12px;
    font-size: 14px;
    z-index: 9999;
    backdrop-filter: blur(3px);
  }
  


.floating-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.floating-button:active{
    transform: scale(0.96);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.floating-button:hover {
    filter: brightness(1.1); /* ✅ Slightly brightens on hover */
}

/* White Inner Circle for Floating Buttons */
.floating-inner {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.floating-button img {
    width: 25px;
    height: 25px;
}


/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;  /* Ensures it starts from the left edge */
    width: 100%;
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures content is centered */
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    z-index: 1000;
    box-sizing: border-box; /* Ensures padding doesn’t mess up the width */
}

body.ios-webview .top-nav {
    padding-top: 44px;
    height: 94px;
  }
  
  

/* Ensures the event title is perfectly centered */
.top-nav .event-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-decoration: none;
}

/* Back Icon: Positioned on the left */
.top-nav .back-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

body.ios-webview .top-nav .back-icon {
    top: 74%;
}

/* Allow scrolling */
body {
    overflow-y: auto;
}



/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 25px;
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    z-index: 2;
}

body.ios-webview .bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 25px;
    padding-top: 12px;
    padding-bottom: 27px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    z-index: 2;
}


.bottom-nav img {
    width: 27px;  /* Smaller size */
    height: auto; /* Maintain aspect ratio */
    display: block;
}






/* Floating Action Button */
.fab {
    position: fixed !important;
    bottom: 72px;
    right: 25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    z-index: 2;
}

body.ios-webview .fab {
    position: fixed !important;
    bottom: 85px;
    right: 25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    z-index: 2;
}

.fab:active{
    transform: scale(0.96);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.fab:hover {
    filter: brightness(1.1); /* ✅ Slightly brightens on hover */
}

/* White Inner Circle */
.fab-inner {
    width: 72px; /* Slightly smaller than .fab */
    height: 72px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3; /* Ensures visibility */
}

.fab-inner img {
    width: 45px; /* ✅ Adjust this value as needed */
    height: 45px;
}


/* Navigation Buttons */
.nav-button {
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    display: inline-block;
    text-align: center;
}

.nav-button:hover {
    opacity: 0.9;
}

/* ✅ Outer container for the gradient border */
.user-marker-container {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 48px; /* ✅ Adjusted to fit the gradient border */
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #F7B2F7, #F57FF5); /* ✅ Gradient border */
    padding: 3px; /* ✅ Spacing for the inner profile picture */
}

/* ✅ The actual profile image inside the border */
.user-marker {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* ✅ Keep a subtle shadow */
    position: relative;
}





.infowindow-container {
    width: 320px; /* Increased from 250px */
    height: auto; /* Let height adjust to content */
    display: flex;
    align-items: center;
    padding: 12px;
}

/* Style for the event image inside the InfoWindow */
.infowindow-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid #F57FF5;
    border-radius: 10px;
    padding: 2px;
    background: white;
    display: block;
    margin-left: 0;
}

.infowindow-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.infowindow-text {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.event-title {
    font-weight: bold;
    font-size: 18px;
}

.infowindow-link {
    color: #F57FF5;
    font-weight: bold;
    text-decoration: none;
}

.infowindow-link:hover {
    text-decoration: underline;
}

.gm-ui-hover-effect {
    display: none !important;
}




/* Ensure the page content starts below the fixed header */
.page-content {
    margin-top: 100px;  /* Adjust this based on the actual height of .top-nav */
    padding-bottom: 80px; /* Adjust this based on the actual height of .bottom-nav */
}

body.ios-webview .page-content {
    margin-top: 150px;  /* Adjust this based on the actual height of .top-nav */
}



/* signup page */
.photo-upload {
    display: flex;
    justify-content: center;
    margin: 0px 0; /* optional spacing */
  }






.event{
    width: 90%;
    max-width: 350px;
    max-width: 350px;
    margin: 0 auto; /* Center horizontally */
    margin-top: 2%;
    padding-bottom:60px;

    justify-content: center;
    align-items: center;
}

.event-title-in-post{
    font-size: 25px;
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 0;
}

/* Container for the event section */
.event-container {
    background: linear-gradient(to bottom, #F57FF5, #F7B2F7);
    border-radius: 0;
    padding: 10px;
    width: 90%;
    max-width: 350px;
    margin: 20px auto;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-photo-wrapper {
    width: 95%;
    max-width: 325px;
    aspect-ratio: 1 / 1; /* Keeps it square */
    position: relative; /* Allows absolute positioning inside */
    display: flex;
    justify-content: center;
    align-items: center;
    background: white; /* Ensures no unwanted gaps */
    overflow: hidden; /* Prevents shadow from overflowing */
    padding: 0;
    margin: 0 auto 7px; /* Centers the wrapper */

    transform: translateY(4%);
}

.event-photo-wrapper::before {
    content: "";
    position: absolute;
    inset: 0; /* Covers the whole wrapper */
    box-shadow: inset 0px 10px 20px rgba(0, 0, 0, 0.05), 
                inset 0px -10px 20px rgba(0, 0, 0, 0.1); /* Stronger inner shadow */
    mix-blend-mode: multiply; /* Allows shadow to blend under the image */
    pointer-events: none; /* Prevents interaction */
    z-index: 2; /* Places it above the wrapper background but below the image */
}

.event-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the space */
    display: block;
    position: relative;
    z-index: 1; /* Ensures image does not cover the shadow */
}

/* Event details section */
.event-details {
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    text-align: left;
}

/* Profile image inside event details */
.profile-img-post-wrapper {
    display: inline-block;
    padding: 2px; /* Space for the border effect */
    border-radius: 50%;
    background: linear-gradient(to right, #ffe4ff, white); /* Gradient border */
    margin-right: 8px;
    margin-bottom:7px;
    margin-top: 5px;
    vertical-align: middle;
  }
  
  .profile-img-post {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

/* Username */
.event-details .username {
    font-weight: bold;
    font-size: 20px;
    vertical-align: middle;
}

/* Event Time & People Count */
.event-details p {
    margin: 0;
    font-size: 15px;
    height: 23px;
}




.event-description {
    padding: 0 10px 10px; /* ✅ Ensures proper spacing */
    color: #888888; /* ✅ Updated color */
    font-family: Arial, sans-serif;
    text-align: left;
    width: 95%; /* ✅ Matches the width of .event-photo-wrapper */
    max-width: 325px;
    margin: 0 auto; /* ✅ Centers it within the container */
}

/* Ensures event description text starts from the left edge */
.event-description p {
    margin: 5px 0;
    font-size: 17px;
    text-align: left;
    padding-left: 0; /* ✅ Removes any left padding */
}


.icon-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
  }
  
  .icon-label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
  }
  
  .icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  




.event-action {
    display: flex;
    justify-content: flex-end; /* Aligns all content to the right */
    width: 100%; /* Ensure it takes full width of the container */
    gap: 12px;
    padding: 10px 20px;
    box-sizing: border-box;
  }
  
  .event-action form {
    display: inline-flex; /* Keeps form inline */
    margin: 0;
    width: auto; /* Prevent it from stretching full-width */
  }
  
  /* JOIN button */
  .join-button {
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 35px;
    width: 130px;
    height: 41px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* LEAVE button */
  .leave-button {
    background: white;
    color: #F57FF5;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 35px;
    width: 130px;
    height: 41px;
    border-radius: 25px;
    border: 4px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, #F7B2F7, #F57FF5);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Press + Hover Effects */
  .join-button:active,
  .leave-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .join-button:hover,
  .leave-button:hover {
    filter: brightness(1.1);
  }








  .event-cancel {
    display: flex;
    justify-content: flex-end; /* ✅ ensures right-alignment */
    padding: 5px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .event-cancel-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
  }
  
  .event-action-icons {
    display: flex;
    gap: 13px;
    align-items: center;
  }
  
  .event-cancel .event-icon {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  
  .event-icon:hover {
    transform: scale(1.1);
  }
  
  .icon-button {
    background: none;
    border: none;
    padding: 0;
  }
  
  
  





/* Creating new events */

.page-contents{
    padding-top: 150px;
    padding-bottom: 60px;
    width: 90%;
    max-width: 360px;
    max-width: 360px;
    margin: 0 auto; /* Center horizontally */
    margin-top: 2%;

    justify-content: center;
    align-items: center;
}


/* General Form Styles */
.page-contents form div {
    margin-bottom: 35px;
    position: relative;
  }

/* Labels */
form label {
    font-size: 14px;
    color: #888888; /* Light gray color */
    font-weight: normal;
    display: block;
    margin-bottom: 0;
}

/* Input Fields */
form input[type="text"],
form input[type="time"],
form input[type="number"],
form select {
    width: 97%;
    border: none;
    border-bottom: 2px solid #F7B2F7; /* Pink underline */
    outline: none;
    font-size: 14px;
    padding: 8px 5px;
    color: #333;
    background: transparent;
}

/* Apply Mukta font and fix bottom line width */
form select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #F7B2F7; /* Matches other fields */
    outline: none;
    font-size: 14px;
    padding: 8px 5px;
    color: #888888; /* Makes "Category?" gray */
    background: transparent;
    appearance: none; /* Removes default styling */
}

/* Ensures "Mukta" font is applied to options */
form select, form select option {
    font-family: 'Mukta', sans-serif !important;
    color: #888888; /* Matches input placeholder color */
}

/* Fix bottom border length to match other fields */
form select:after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 2px solid #F7B2F7;
}

/* Custom dropdown arrow (Optional) */
form select {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="pink"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 8px center;
    background-size: 16px;
    padding-right: 30px; /* Space for custom arrow */
}


/* General Styling for Textarea */
form textarea {
    width: 92%;
    height: 120px; /* Adjust height as needed */
    border: 2px solid #F7B2F7; /* Pink border */
    border-radius: 12px; /* Rounded edges */
    outline: none;
    font-size: 14px;
    padding: 12px;
    color: #333;
    background: transparent;
    resize: none; /* Prevents resizing */
}

/* Placeholder (Event detail*) Styling */
form textarea::placeholder {
    color: #888888; /* Light gray */
    font-size: 14px;
}

/* Focus Effect */
form textarea:focus {
    border: 2px solid #F7B2F7; /* Darker pink on focus */
}

form .time-field-group input[type="time"] {
    padding-top: 2px !important;
    padding-bottom: 6px; /* optional tweak */
  }


.upload-icon {
    width: 80px; /* Adjust size */
    height: 80px;
    cursor: pointer; /* Makes it clickable */
    transition: transform 0.15s ease-in-out;
}

/* Extra smooth pushing effect via JavaScript */
.upload-icon.pressed {
    transform: scale(0.92);
}

/* Create Post Button Container */
.create-post-container {
    display: flex;
    justify-content: flex-end; /* Moves the button to the right */
    width: 100%;
    margin-top: 20px; /* Adds spacing from previous elements */
}



/* Create Post Button (Same as Join Button) */
.create-post-button {
    background: linear-gradient(to right, #F7B2F7, #F57FF5); /* ✅ Matches gradient */
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 130px; /* ✅ Fixed width */
    height: 41px; /* ✅ Fixed height */
    border: none;
    border-radius: 25px; /* ✅ Rounded edges */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* ✅ Soft shadow */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center; /* ✅ Centers text inside button */
    align-items: center; /* ✅ Centers text vertically */
}

/* Click Effect */
.create-post-button:active {
    transform: scale(0.96);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}


.create-post-button:hover {
    filter: brightness(1.1); /* ✅ Slightly brightens on hover */
}








html, body {
    height: 100%;
    font-family: sans-serif;
    background-color: white;
  }


  .chat-page .top-nav .event-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-decoration: underline;
}

  
  /* Header */
  .room-header {
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    margin: 0;
    color: white;
    box-sizing: border-box;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);

  }
  
  .room-header, .room-header * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Username + icon row */
  .room-user-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    padding-left: 23px;
    padding-right: 23px; /* optional: balance spacing on the right */
    font-size: 25px;
  }

  body.ios-webview .room-user-top-row {

    padding-top: 63px !important;

  }

  .room-username {
    max-width: 50vw; /* Half of the screen width */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Style the icon container, not the images */
  .room-user-icons {
    display: flex;
    gap: 10px;
  }
  
  /* Image should stay block for correct spacing */
  .icon-button img {
    width: 32px;
    height: 32px;
    display: block;
    cursor: pointer;
  }


  /* Profile image + bio section */
  .room-user-info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 16px;
    padding-left: 20px;
    flex-wrap: wrap;
  }
  
  .profile-img-room {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    cursor: default;
    padding: 4px;
    background: linear-gradient(to right, #ffe5ff, white);
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }
  
  .room-bio {
    font-size: 18px;
    color: white;
    margin: 0;
    line-height: 1.4;
    max-width: 300px;
  }

  .room-user-info-row-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .room-user-info-row-link * {
    text-decoration: none !important;
    color: inherit;
  }
  
  

  
/* Room List */
.room-list {
  margin-top: 167px;
  margin-bottom: 40px;
  background: white;
  padding: 20px 10px;
}

body.ios-webview .room-list {
  margin-top: 217px !important;
  margin-bottom: 40px;
  background: white;
  padding: 20px 10px;
}

.room-entry {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.room-entry:hover,
.room-entry:active,
.room-entry.room-entry-passed:hover,
.room-entry.room-entry-passed:active {
  filter: brightness(0.98);
}

.room-entry-passed {
  background: linear-gradient(to right, #F7B2F7, #F57FF5);
  color: white;
}

.room-entry-passed .room-name,
.room-entry-passed .last-reply,
.room-entry-passed .room-time {
  color: white;
}

.room-entry-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.room-entry-link * {
  text-decoration: none !important;
}

.room-avatar-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  padding: 4px;
  margin-right: 10px;
  background: linear-gradient(to bottom right, #F7B2F7, #F57FF5);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.room-avatar-passed {
  background: linear-gradient(to right, #ffe5ff, white);
}

.room-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.room-photo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eee;
  border: 2px dashed #ccc;
  margin-right: 12px;
  flex-shrink: 0;
}

.room-info, .room-text {
  flex-grow: 1;
}

.room-name {
  font-weight: bold;
  font-size: 19px;
  margin: 0;
  color: #555;
}

/* ✅ Updated to flex for inline truncation */
.room-last,
.last-reply {
  font-size: 16px;
  color: #888;
  margin: 0;
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-items: center;
  gap: 4px;
}

/* ✅ New for inline message text truncation */
.last-reply-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.room-time {
  font-size: 13px;     /* slightly smaller */
  font-weight: 500;
  color: #777;
}


.unread-badge {
  background: linear-gradient(to right, #F7B2F7, #F57FF5);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px; /* Vertically centers the text */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}


.room-meta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-left: auto;
  padding-right: 4px;
  margin-top: -14px; /* pull up slightly */
  gap: 4px;
}

.room-entry-passed .unread-badge {
  background: white;
  color: #F57FF5;
}

.room-time-unread {
  color: #F57FF5 !important;
  font-weight: bold;
}







  /* Inside Room */

.room-participants-icons{

    margin-left: auto; /* Pushes the participants icon to the right */

}



.message-form {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 100;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* New wrapper inside the form */
.chat-box {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding-right: 20px;
  padding-left: 20px;
}

body.ios-webview .chat-box{
  padding-bottom: 10px;
  padding-right: 27px;
  padding-left: 30px;
}

.message-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.message-input {
  flex-grow: 1;
  border: none;
  border-bottom: 2px solid #F7B2F7;
  outline: none;
  font-size: 15px;
  padding: 6px 4px;
  background: transparent;
  margin: 0;
  height: 36px;
  line-height: 1.2;
  box-sizing: border-box;
}

.message-input::placeholder {
  color: #aaa;
}

.button-switch-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-submit-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-submit-button.hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.duck-send-icon,
.duck-image-icon {
  width: 90%;
  height: 90%;
  object-fit: contain;
}








  .chat-images {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }
  
  .chat-image {
    max-width: 250px;
    max-height: 250px;
    border-radius: 1rem;
    object-fit: cover;
    padding-bottom: 5px;
  }


  





/* Message Container */
.chat-messages {
  overflow-y: auto;
  padding: 70px 16px 30px 16px;  /* 上下 padding で隠れないように */
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px); /* ヘッダー固定60px、フォーム60px => 自動 */
  box-sizing: border-box;
}

body.ios-webview .chat-messages{
  padding-top: 120px;
}



  
  
  
  /* Each Message */
  .chat-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .chat-message.from-current-user {
    align-items: flex-end;
  }
  
  /* Chat Bubble */
  .chat-bubble {
    background: linear-gradient(to right, #F7B2F7, #F57FF5);
    padding: 8px 14px;
    border-radius: 18px;
    max-width: 70%;
    color: white;
    word-wrap: break-word;
    white-space: normal;           /* ✅ Wrap normally, no extra height */
    overflow-wrap: break-word;
    display: inline-block;         /* ✅ Shrink to fit content */
    line-height: 1.4;
  }
  
  
  .from-current-user .chat-bubble {
    border-bottom-right-radius: 0;
  }
  
  /* Message Text */
  .chat-text {
    margin: 0;
  }

  .white-link {
    color: white;
    text-decoration: underline;
  }
  



  .chat-message:not(.from-current-user) .chat-bubble {
    background: linear-gradient(to right, #fbeaff, #f4d8f7);
    color: #4b3b4e; /* soft mauve-gray text */
  }
  
  .chat-message:not(.from-current-user) .chat-bubble .chat-text {
    color: #4b3b4e;
  }



  .image-polaroid-wrapper {
    width: 180px;
    padding: 8px;
    border-radius: 12px;
    margin: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    position: relative;
  }
  
  .image-polaroid-wrapper img.polaroid-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }
  
  .chat-message.from-current-user .image-polaroid-wrapper {
    margin-left: auto;
  }
  
  .chat-message:not(.from-current-user) .image-polaroid-wrapper {
    margin-right: auto;
  }
  
  /* 🎨 Background colors */
  .pink-polaroid {
    background: linear-gradient(to bottom, #F57FF5, #F7B2F7);
  }
  
  .gray-polaroid {
    background: linear-gradient(to bottom, #fbeaff, #f4d8f7);
  }

  

  .chat-polaroid-wrapper {
    width: 180px;
    height: 240px; /* taller than wide */
    background: white;
    padding: 0;
    padding-bottom: 40px;
    margin: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
  }
  
  /* Colors */
  .polaroid-sender {
    background: linear-gradient(to bottom, #F57FF5, #F7B2F7);
  }
  
  .polaroid-receiver {
    background: linear-gradient(to bottom, #fbeaff, #f4d8f7);
  }
  
  /* Image inside */
  .polaroid-photo {
    width: 90%;
    aspect-ratio: 1 / 1;   /* ✅ Makes it perfectly square */
    object-fit: cover;
    display: block;
    border-radius: 0;  /* sharp corners */
    box-shadow: none;
  }
  



  
  /* Sender Info */
  .chat-sender {
    display: flex;
    align-items: center;
    gap: 6px;
    color : #333;
  }

  .chat-message.not-current-user {
    margin-bottom: 9px;
  }
  
  
  .chat-user-image-wrapper {
    padding: 1px;
    border-radius: 50%;
    background: linear-gradient(to right, #fbeaff, #f4d8f7);
    display: inline-block;
  }
  
  /* ✅ 画像自体を丸く、枠と分離 */
  .chat-user-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background-color: white;
  }
  
  /* ✅ 時間表示のスタイル */
  .chat-timestamp {
    font-size: 11px;
    font-weight: normal;
    margin-left: 2px;
    color: #777;

    display: inline-block;
    margin-top: -10px; /* ← 数字はお好みで */
    vertical-align: middle;
    font-size: 0.8rem; /* オプション：サイズ調整 */
  }


  .no-messages {
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 1em;
  }
  



  
    /* full screen image */
    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 16px;
      box-sizing: border-box;
    }
    
    .lightbox img.lightbox-image {
      width: 90vw;
      height: auto;
      max-height: 100vh;
      border-radius: 8px;
      object-fit: contain;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    
    /* 🖥️ Desktop adjustment */
    @media (min-width: 768px) {
      .lightbox img.lightbox-image {
        max-width: 70vw;
        width: auto;
      }
    }
    
    
    
    .lightbox.hidden {
      display: none;
    }
    
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 40px;
      color: white;
      cursor: pointer;
      font-weight: bold;
      z-index: 10000;
    }
    


    .lightbox-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: white;
      font-size: 42px;
      padding: 4px 12px;
      cursor: pointer;
      z-index: 10001;
      border-radius: 0;
      transition: transform 0.2s;
    
      outline: none;                                 /* ✅ removes blue border */
      -webkit-tap-highlight-color: transparent;      /* ✅ disables iOS/Android tap effect */
      user-select: none;                             /* ✅ prevents accidental text selection */
    }
    
    .lightbox-arrow:hover {
      transform: translateY(-50%) scale(1.15);
    }
    
    .lightbox-arrow.left {
      left: 16px;
    }
    
    .lightbox-arrow.right {
      right: 16px;
    }
    
    
    

    .lightbox-controls {
      position: absolute;
      top: 20px;
      right: 20px;
      display: flex;
      align-items: center;          /* ✅ Vertical alignment */
      gap: 12px;
      z-index: 10001;
    }
    
    .lightbox-close,
    .lightbox-download {
      display: flex;                /* ✅ Ensure same layout */
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      text-decoration: none;
    }
    
    .lightbox-icon {
      width: 28px;
      height: 28px;
      object-fit: contain;
      display: block;
      transition: transform 0.2s ease;
    }
    
    .lightbox-close:hover .lightbox-icon,
    .lightbox-download:hover .lightbox-icon {
      transform: scale(1.2);
    }

    .chat-system-message {
      text-align: center;
      color: #888;
      font-style: italic;
      margin: 10px 0;
    }
.invitation-page {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
}

.invitation-container {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px; /* ✅ space between duck/eggs and text */
}

.mail-image {
  width: 95px;
  height: 95px;
  object-fit: contain;
}

.invitation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.invitation-item {
  display: flex;
}

.invitation-text {
  text-align: center;
  max-width: 350px;
}

.invitation-text h3 {
  margin-bottom: 10px;
}

.invitation-text p {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}




/* Copy Button */
.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copy Icon */
.copy-icon {
    width: 38px;
    height: 38px;
    transition: transform 0.2s ease-in-out;
}

/* Click Effect: Button Push */
.copy-button:active .copy-icon {
  animation: bounce 1.2s ease; /* ✅ longer time (1.2s) */
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(-6px); }
  20%  { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  40%  { transform: translateY(0); }
  50%  { transform: translateY(-2px); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}






/* signup */



/* Page Background */
.sign-up-page {
    background: linear-gradient(to bottom, #F7B2F7, #F57FF5);
    min-height: 100vh; /* Ensure it fills viewport height */
    display: flex;
    flex-direction: column;
  }

/* Sign-up Container */
.Sign_up {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    padding-bottom: 60px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Duck Logo */
.duck-logo-wrapper {
    text-align: center;
    margin-top: 150px;
    margin-bottom: 20px;
}

.duck-logo {
    width: 110px;
    height: auto;
}

.duck-logo-text {
    color: white;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin-top: 0;
  }


  .invitation-toggle-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
  }

  #invitation-form {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.3s ease;
  }
  
  #invitation-form.opened {
    height: auto;
    opacity: 1;
    overflow: visible;
  }
  
  
  

/* Form Labels (including DOB*) */
.Sign_up p {
    color: white;
    margin-bottom: 0;
}

/* Input Fields */
.Sign_up input[type="text"],
.Sign_up input[type="email"],
.Sign_up input[type="password"],
.Sign_up input[type="date"] {
    width: 95%;
    max-width: 100%;
    border: none;
    border-bottom: 2px solid transparent;
    outline: none;
    font-size: 16px;
    padding: 8px 5px;
    color: #fff;
    background: transparent;
    margin-bottom: 35px;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
}

/* Textarea Styling (Bio) */
.Sign_up textarea {
    width: 95%;
    max-width: 100%;
    outline: none;
    font-size: 16px;
    padding: 8px 5px;
    color: white;
    background: transparent;
    margin-bottom: 0;
    border: 1.7px solid white;
    border-radius: 12px;
  }



/* Focus Underline for Inputs/Textareas */
.Sign_up input:focus {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
}


.Sign_up textarea:focus {
    border: 2px solid white;
}



/* Placeholder Styling (Inputs + Textarea) */
.Sign_up input::placeholder,
.Sign_up textarea::placeholder {
    color: white;
    font-size: 14px;
}

/* Date Field Styling */
.Sign_up input[type="date"] {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 30px 8px 5px;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10h5v5H7z'/%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .89-2 2v16c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zM5 21V8h14v13H5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px 20px;
  
    border: none;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
    margin-bottom: 35px;
  }
  


  .Sign_up input[type="date"]:focus {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
  }
  

/* Hide native calendar icon (black) */
.Sign_up input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
  }
  

  .Sign_up input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 9999s ease-out, color 9999s ease-out;
  }
  
  .Sign_up input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
  }
  

/* Bio Word Counter */
.bio-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* ✅ aligns children like <p> to the right */
  }

.bio-container p {
    width: 100%;           /* ✅ force full line width */
    text-align: right;     /* ✅ aligns text to the right side */  
    margin-top: 0;
    font-size: 13px;
    color: white;
}


/* Sign-up Button Container */
.sign-up-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 20px;
}

/* Sign-up Button */
.Sign_up .sign-up-container .sign-up-button {
    background: linear-gradient(to right, #fcf0ff, #ffffff);
    color: #F57FF5;
    font-size: 16px;
    font-weight: bold;
    width: 130px;
    height: 41px;
    border-radius: 25px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Click Effect */
.sign-up-button:active {
    transform: scale(0.96);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Button Hover Effect */
.sign-up-button:hover {
    filter: brightness(1.1);
}



/* Gender Select Wrapper (for spacing) */
.gender-select-wrapper {
    width: 100%;
    margin-bottom: 35px;
  }
  
  /* Gender Select Styling */
  .gender-select {
    width: 95%;
    max-width: 100%;
    font-size: 16px;
    padding: 8px 5px;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  /* Placeholder (Prompt) Styling */
  .gender-select:invalid {
    color: white;
  }
  
  /* Focus Effect */
  .gender-select:focus {
    outline: none;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #fbeaff, #f4d8f7) 1;
  }
  





/* login */

.form-error {
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    background: rgba(255, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
  }

  .form-notice{
    color: rgb(59, 59, 59);
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    background: rgba(0, 200, 0, 0.2); /* light green tint */
    padding: 8px 12px;
    border-radius: 8px;
  }
  




/* edit profile */

.edit-profile{
    width: 90%;
    max-width: 350px;
    margin: 0 auto; /* ✅ Center horizontally */
    margin-top: 150px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Ensures all elements are aligned */
}

.edit-profile p{
    color: #888888;
    margin-bottom: 10px;
}



form {
    width: 100%;
    max-width: 100%;
}


/* Center the profile image */
.profile-image-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Profile Picture Styling */
.profile-img {
    width: 110px; /* Adjust size */
    height: 110px;
    border-radius: 50%; /* ✅ Makes it circular */
    object-fit: cover;
    cursor: pointer; /* ✅ Makes it clickable */

    /* ✅ Gradient Border Effect */
    padding: 4px; /* ✅ Creates space for the border effect */
    background: linear-gradient(to right, #F7B2F7, #F57FF5); /* ✅ Gradient border */
    display: inline-block; /* ✅ Ensures correct rendering */

    margin-bottom: 45px;

    /* ✅ Soft pink drop shadow */
    box-shadow: 0 4px 8px rgba(245, 127, 245, 0.5); 

    /* ✅ Smooth scaling and shadow transition */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* ✅ Click Effect */
.profile-img:active {
    transform: scale(0.96);
    box-shadow: 0 2px 4px rgba(245, 127, 245, 0.4);
}






/* Bio section */
.bio-container {
    display: flex;
    justify-content: space-between; /* Spaces bio text and counter */
    align-items: center;
    width: 100%; /* Ensures it spans full width */
    margin-bottom: 10px;
}

.bio-container textarea {
    flex-grow: 1; /* Allows textarea to expand */
    width: 100%;
}

.bio-container-word-count p{
    font-size: 13px;
    color: #888888;
    white-space: nowrap; /* Prevents word wrap */
    text-align:right;
    margin-top: 0;
}

.submit-container {
    display: flex;
    justify-content: flex-end; /* ✅ Aligns button to the right */
    width: 100%;
    margin-top: 20px; /* Adds spacing from previous elements */
}

/* Ensures the submit button is full width */
form input[type="submit"] {
    background: linear-gradient(to right, #F7B2F7, #F57FF5); /* ✅ Matches gradient */
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 130px; /* ✅ Fixed width */
    height: 41px; /* ✅ Fixed height */
    border: none;
    border-radius: 25px; /* ✅ Rounded edges */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* ✅ Soft shadow */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center; /* ✅ Centers text inside button */
    align-items: center; /* ✅ Centers text vertically */
}

/* Button press effect */
form input[type="submit"]:active {
    transform: scale(0.96);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
form input[type="submit"]:hover {
    filter: brightness(1.1); /* ✅ Slightly brightens on hover */
}



.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  color: rgb(144, 144, 144);
  z-index: 1000;
}

.fixed-footer a {
  color: rgb(144, 144, 144);
  text-decoration: none;
  margin: 0 5px;
}

.fixed-footer a:hover {
  text-decoration: underline;
}




/* user profile */
.user-show{
    width: 90%;
    max-width: 390px;
    margin: 90px auto 0 auto; /* center horizontally, top spacing */
}

body.ios-webview .user-show{
  margin-top: 140px !important;
}

.user-show-photo{
        width: 90%;
        max-width: 350px;
        margin: 0 auto; /* Center horizontally */
        margin-top: 2%;
    
        justify-content: center;
        align-items: center;

}

.user-invited-by{
    margin-top: 10px;
    margin-left: 20px;
    color: #888888;
    text-align: left;   
    padding: 0 10px; 
  }

  .inviter-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
  }
  
  .invited-by-item {
    display: flex;
    align-items: center; /* ✅ 画像と名前を縦方向中央揃え */
    margin-bottom: 8px;
  }
  
  .inviter-name a {
    font-size: 16px;
    font-weight: 500;
    color: #837585;         /* ✅ グレー系に統一 */
    text-decoration: none;  /* ✅ 下線を削除 */
  }
  

  .event-container2 {
    background: linear-gradient(to bottom, #F57FF5, #F7B2F7);
    border-radius: 0;
    padding: 10px;
    width: 90%;
    max-width: 350px;
    aspect-ratio: 1 / 1.194; /* Automatically calculates height */
    margin: 20px auto;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-bio {
    margin-top: 10px;
    margin-left: 20px;
    color: #888888;
    text-align: left;        /* Ensures it's left-aligned */
    padding: 0 10px;         /* Matches the padding of .event-container */
  }

  .user-actual-bio {
    margin-top: 0;
  }


/* Signature name styling */
.signature-name {
  font-size: 25px;
  color: #ffffff;
  font-weight: 500;
  font-family: "Pacifico", cursive;
  text-align: center;
  padding-top: 10px;
}

  







 /* Terms and conditions */
 .modal.hidden { display: none; }

 .modal {
   position: fixed; top: 0; left: 0; width: 100%; height: 100%;
   background-color: rgba(0, 0, 0, 0.6); z-index: 1000;
   display: flex; justify-content: center; align-items: center;
 }

 .modal-content {
   background: white; padding: 20px; border-radius: 8px;
   max-width: 600px; max-height: 80%; overflow-y: auto;
   position: relative;
 }

 .close {
   position: absolute; top: 10px; right: 20px; font-size: 24px; cursor: pointer;
 }

.terms-label {
  color: white;
}
.terms-link {
  color: white;
  text-decoration: underline;
}

/* Hide default checkbox */
.custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create custom checkbox box */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  cursor: pointer;
  position: relative;
}

.custom-checkmark {
  height: 14px;
  width: 14px;
  border: 2px solid white;
  background-color: transparent;
  display: inline-block;
  border-radius: 4px;
  position: relative;
}

/* When the checkbox is checked, show custom checkmark */
.custom-checkbox:checked + .custom-checkmark::after {
  content: "";
  position: absolute;
  left: 3.3px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-label {
  font-size: 13px;
  line-height: 1.4;
}


.user-attended-events{
  margin-left: 30px;
  margin-bottom: 50px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


 html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100svh; /* ✅ this is the new standard */
  overflow: hidden;
  background: white; /* or your background */
}

body, button, h1, h2, h3, h4, h5, h6, p, a, span, input, textarea, li, select, option {
    font-family: 'Mukta', sans-serif !important;
}



.turbo-progress-bar {
  background: linear-gradient(90deg, #F7B2F7, #F57FF5, #ffe5ff, white) !important;
  height: 4px !important;
}
