body, html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lora', sans-serif;
  background-color: #1c1c1e;
  color: #f5f5f5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

main {
  padding-top: 6rem;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  /* subtle underline */
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.brand a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

img.loading {
  filter: blur(4px);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}


/*
Navigation Bar
*/
.floating-nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: transparent;
  font-family: 'Playfair Display', serif;
}


.floating-nav .brand {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 2rem;
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}


.floating-nav a {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.floating-nav a:hover {
  color: #b76e79;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}




.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #f5f5f5;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #b76e79;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #f5f5f5;
  cursor: pointer;
}


@media (max-width: 768px) {
  .floating-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    /* optional for contrast */
    backdrop-filter: blur(6px);
    /* optional for glassy effect */
  }

  .floating-nav .brand {
    margin-bottom: 1rem;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 11;
  }

  .nav-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(-10px);
    display: flex;
  }

  .nav-links.active {
    max-height: 500px;
    /* adjust based on content height */
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}


/*
Footer Layout
*/
.site-footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-meta p {
  margin: 0.1rem 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

.user-status {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 1em;
}


/* ------------------------------------
              HOMEPAGE LAYOUT
------------------------------------ */

@keyframes fadeInFromBlack {
  0% {
    opacity: 0;
    filter: brightness(0);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  margin-top: -6rem;
  padding: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  z-index: 0;
  opacity: 0;
  filter: brightness(0);
}

.hero-image.loaded {
  animation: fadeInFromBlack 2s ease-out forwards;
  opacity: 1;
  filter: brightness(1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  animation: fadeSlideUp 1.5s ease-out forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #f5f5f5;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #f5f5f5;
  opacity: 0.85;
}


.home-collections,
.home-latest-post {
  text-align: center;
}

.home-collections h2,
.home-latest-post h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.home-section-subtext {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ----------------
Latest Collections
---------------- */

.home-collections {
  padding: 4rem 0;
}

.collection-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-collections,
.collection-list {
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.thumbnail-wrapper {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border-radius: 6px;
}

.collection-thumb {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  will-change: transform;
}

@media (max-width: 600px) {
  .collection-thumb {
    height: 180px;
  }
}

/* Dim overlay */
.thumbnail-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  border-radius: 6px;
  will-change: opacity;
}



/* Latest Post on Homepage */

.home-latest-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.latest-post-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 1.5rem;
}

.latest-post-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.latest-post-card:hover {
  transform: scale(1.02);
}


.latest-post-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.latest-post-content {
  padding: 1.5rem;
}

.latest-post-content h3 a {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  color: #f5f5f5;
  text-decoration: none;
}

.latest-post-content h3 a:hover {
  text-decoration: underline;
}

.latest-post-date {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.latest-post-excerpt {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}



/* ----------------
Post Listing Page
---------------- */



.post-archive {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

.archive-header h1 {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: #f5f5f5;
}

.archive-header p {
  font-size: 1rem;
  color: #ccc;
  opacity: 0.8;
}

.post-card-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.post-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
}

.post-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.post-card-content h2 a {
  color: #f5f5f5;
  text-decoration: none;
}

.post-card-content h2 a:hover {
  text-decoration: underline;
}

.post-card-date,
.post-card-excerpt {
  pointer-events: none;
}

.post-card-date {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.post-card-excerpt {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}



/*
-----------------------------
       POST ARCHIVE LAYOUT
-----------------------------
*/

/* Archive Section Layout */
.post-archive {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .post-archive {
    max-width: 720px;
    padding: 6rem 2rem;
  }
}


.post-archive h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

.archive-header {
  margin-bottom: 2rem;
}

/* Individual Post Card */
.post-list-item {
  background: none;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.post-list-item:hover {
  transform: scale(1.02);
}

.post-list-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Post Thumbnail */
.post-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

/* Post Title */
.post-list-item h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #f5f5f5;
  opacity: 0.9;
}

/* Optional Caption or Excerpt */
.post-list-item p {
  font-size: 0.9rem;
  color: #ccc;
  opacity: 0.7;
  margin: 0.5rem 0 0;
}


.related-posts {
  margin-top: 4rem;
}

.related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #f5f5f5;
}

.related-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.related-post-grid li {
  text-align: center;
}

.related-thumb {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/*
-----------------------------
      COLLECTION PAGE LAYOUT
-----------------------------
*/

/* 📸 Supabase Image Styling — Always Visible */
.supabase-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* 🖱️ Optional Hover Effect */
.supabase-image:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}




.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.collection-card {
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.collection-card:hover {
  transform: scale(1.02);
}

.collection-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #f5f5f5;
}


.collection-meta {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.collection-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  text-align: center;
}

.photo-count {
  font-size: 0.9rem;
  color: #aaa;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.photo-count.loading {
  opacity: 0.5;
  font-style: italic;
}

.photo-count.loaded {
  opacity: 1;
  font-style: normal;
}



.collection-hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, #111, #222);
  color: #eee;
  padding: 2rem;
}

.collection-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.collection-hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.scroll-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #444;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.scroll-button:hover {
  background: #666;
}

/* Optional: smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Collections page header */
.collections-page .page-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  color: #ccc;
}

.collections-page .page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.collections-page .page-header .intro-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}







/* Collection Page Image Skeleton Element */

.image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  animation: shimmer 1.2s infinite;
  border-radius: 8px;
  z-index: 1;
}

.post-thumb-wrapper {
  position: relative;
  overflow: hidden;
}

.post-cover.loaded {
  z-index: 2;
  position: relative;
}

/* Collections index thumbnails: match individual gallery look */
/* 🔲 Thumbnail Wrapper */
.thumbnail-wrapper {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px; /* Use consistent rounding */
  background-color: #1c1c1e;
}

.thumbnail-info h2 {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #ccc;
  font-weight: 400;
}

.collection-link {
  text-decoration: none;
}

/* Reveal overlay on hover */
.collection-link:hover .thumbnail-wrapper::before {
  opacity: 0;
}

.collection-link:hover .thumbnail-info h2 {
  color: #eee;
  transform: translateY(-2px);
  transition: color 0.3s ease, transform 0.3s ease;
}


/* Zoom image on hover */
.collection-link:hover .collection-thumb {
  transform: scale(1.05);
}


.collection-link span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.collection-link:hover span {
  color: #eee;
  transform: translateY(-2px);
}


/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-link {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background: #eee;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.page-link.active {
  background: #333;
  color: #fff;
}

.page-link:hover {
  background: #ccc;
}

/*
INDIVIDUAL COLLECTION & GALLERY
*/

/* 📸 Collection Photo Base Styles */

.collection-photo {
  display: block;
  width: 100%;
  max-width: 300px;
  min-height: 150px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

/* 🖱️ Hover Effect */
.collection-photo:hover {
  transform: scale(1.02);
}

/* 🖼️ Loaded State */
.collection-photo.loaded {
  opacity: 1;
}

/* 🌫️ Blurred Variant */
.collection-photo.blurred {
  filter: blur(4px);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.collection-photo.lightbox-enabled {
  cursor: pointer;
}

.collection-photo.lightbox-enabled:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.collection-photo,
.supabase-image {
  opacity: 0;
  transition: opacity 0.5s;
}
.collection-photo.loaded,
.supabase-image.loaded {
  opacity: 1;
}


/* 🧱 Gallery Layout */
.collection-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* 🧱 Gated Gallery Container */
#gated-gallery-container {
  padding: 2rem;
  margin-top: 2rem;
}

/* 🏷️ Section Headings */
#gated-gallery-container h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
}



/* 📸 Public & Gated Collection Galleries */

.gallery-access-prompt {
  background-color: #fff8f0;
  border: 1px solid #e0d6c8;
  padding: 1rem;
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
  border-radius: 6px;
  font-size: 1rem;
  color: #444;
}

.gallery-access-prompt a {
  color: #0077cc;
  text-decoration: underline;
}


.gallery-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  cursor: zoom-in;
  outline: none;
}



.access-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}

/* 🔄 Loader & Button */
#gallery-loader {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
  text-align: center;
}

#load-gated-gallery {
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#load-gated-gallery:hover {
  background-color: #444;
}



/* SINGLE POST LAYOUT */




.post-page,
.post-entry {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: #f5f5f5;
  font-family: 'Georgia', serif;
}

@media (min-width: 1024px) {
  .post-page,
  .post-entry {
    padding: 6rem 3rem;
  }
}

/* Cover Image */
.post-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem; /* Increased spacing below image */
}

/* Title */
.post-entry h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0rem; /* Increased spacing below title */
  text-align: center;
  color: #f5f5f5;
}

/* Meta Info */
.post-meta {
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  margin-bottom: 2rem;
}

/* Content */
.post-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ddd;
}

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.post-content h2,
.post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0rem;
  color: #f5f5f5;
}

/* Lists */
.post-content ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #ccc;
}

.post-content a {
  text-decoration: none;
}

.post-content a {
  text-decoration: none;
  color: inherit; /* or specify a color */
}

.post-content a:hover {
  text-decoration: underline; /* optional */
  color: #ddd; /* or any hover color you prefer */
}



.two-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .two-row-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------
About Page Styling
---------------- */

.about-page {
  padding: 6rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #f5f5f5;
}

.about-page p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 2rem;
  font-family: 'Lora', serif;
  opacity: 0.85;
}

.about-page a {
  color: #b76e79;
  text-decoration: underline;
  text-decoration-color: rgba(183, 110, 121, 0.4);
  transition: color 0.3s ease;
}

.about-page a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}



/* ----------------
Login Page Styling
---------------- */

.auth-form {
  padding: 6rem 1rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.auth-form h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: #f5f5f5;
}

.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.auth-form label {
  font-size: 0.9rem;
  color: #ccc;
  text-align: left;
  margin-bottom: 0.25rem;
  font-family: 'Lora', serif;
}

.auth-form input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2a2a2d;
  color: #f5f5f5;
  font-family: 'Lora', serif;
}

.auth-form input::placeholder {
  color: #888;
}

.auth-form button[type="submit"] {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #b76e79;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  transition: background-color 0.3s ease;
}

.auth-form button[type="submit"]:hover {
  background-color: #a45c67;
}

.auth-message {
  font-size: 0.9rem;
  color: #f5f5f5;
  margin-top: 1rem;
  opacity: 0.8;
}

.signup-prompt {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

.signup-prompt a {
  color: #b76e79;
  text-decoration: underline;
  text-decoration-color: rgba(183, 110, 121, 0.4);
  transition: color 0.3s ease;
}

.signup-prompt a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Optional logout button styling */
.auth-form button[onclick="logout()"] {
  margin-top: 2rem;
  background: none;
  border: 1px solid #666;
  color: #ccc;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-form button[onclick="logout()"]:hover {
  border-color: #aaa;
  color: #fff;
}
