/* Global Theme / Core Variables */
:root {
  --bg-color: #0f0f0f;
  --card-bg: #1a1a1a;
  --text-color: #f2f2f2;
  --muted-text: #9e9e9e;
  --accent: #e50914;
  --accent-hover: #ff4343;
  --success: #00c853;
  --warning: #ffc107;
  --brand-yellow: #ffc107;
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Global Styles */
body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Navbar */
.navbar {
  background: #1a1a1a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  align-items: center;    
  gap: 0.5rem;
  font-family: "Orbitron", sans-serif;
  color: var(--warning);
  font-size: 1.8rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.nav-links a,
.nav-links button {
  color: var(--text-color);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links button {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--warning);
  border-radius: 6px;
  color: var(--warning);
}
.nav-links a:hover { color: var(--warning); }
.nav-links button.logout-btn {
  background: var(--warning);
  color: #000;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
}
.nav-links button.logout-btn:hover { background: #e0a800; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.burger span {
  width: 25px;
  height: 3px;
  background: #f2f2f2;
  border-radius: 2px;
  transition: var(--transition);
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    border-radius: 8px 0 0 8px;
  }
  .nav-links.active { display: flex; }
  .burger { display: flex; }
}


/* Headings */
h2 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Search bar */
.search-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.search-form input {
  flex: 1;
  max-width: 400px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.7rem;
  color: #fff;
}
.search-form button {
  background: var(--warning);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.search-form button:hover { background: #e0a800; }

/* Movie Grid */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.movie-card:hover { transform: translateY(-5px); }

/* Poster */
.movie-poster {
  width: 100%;
  aspect-ratio: 555 / 817;
  object-fit: cover;
}

/* Info Section */
.movie-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.movie-info h5 {
  margin: 0;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 50px);
}
.movie-info h5:hover {
  overflow: visible;
  white-space: normal;
}
.movie-info .muted {
  color: var(--muted-text);
  margin-bottom: 0.5rem;
  text-align: right;
  font-size: 0.9rem;
}

/* ===== Movie Description (updated for visible Read More) ===== */
.movie-description {
  color: var(--text-color);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem 0;
  overflow: hidden;
  position: relative;
  min-height: 4.5rem; /* ensures uniform card height */
}

.movie-description .read-more {
  color: var(--brand-yellow);
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.3rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.movie-description .read-more:hover {
  color: var(--brand-orange);
}

/* ====== Updated Badge & Watchlist Inline ====== */
.rating-watchlist {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.rating-watchlist .badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0;
  border: 1px solid var(--brand-yellow);
  border-radius: 6px;
  color: var(--brand-yellow);
  background: rgba(255, 193, 7, 0.15);
  box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
}
.rating-watchlist .btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #333; color: #fff; }
.btn-danger { background: #c62828; color: #fff; }
.btn:hover { opacity: 0.85; }

.btn .btn-secondary {
  margin-left: 10px
}

/* Base form */
.base-form {
  display: inline
}

/* Flex Groups */
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
  align-items: center;
}

/* Rating Stars */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.2rem;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--warning); }

/* ===== Review Input Fix (prevents overflow) ===== */
.review-form {
  width: 100%;
  box-sizing: border-box;
}
.review-input-row {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.review-input {
  flex: 1;
  width: 100%;
  min-height: 3rem;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  padding: 0.7rem;
  resize: vertical;
  line-height: 1.4;
  font-size: 0.95rem;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

/* Post Review + Show Reviews Inline */
.review-actions-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.review-actions-row .btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
}

/* === REVIEWS === */
.reviews-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: none;
}
.reviews-list.active { display: block; }

.reviews-list li {
  background: #222;
  border-radius: 6px;
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  display: block;           
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Comment & Rating */
.review-comment {
  margin-bottom: 0.5rem;
}

/* Footer: Like left, Edit/Delete right */
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Like Button */
.like-form {
  display: inline-block;  
  margin: 0;              
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1.5px solid var(--brand-yellow);
  border-radius: 6px;
  background: transparent;
  color: var(--brand-yellow);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.like-btn i {
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.like-btn:hover i {
  transform: scale(1.15);
}

.like-btn:hover {
  background: var(--brand-yellow);
  color: #000;
}

.like-btn.liked {
  background: var(--brand-yellow);
  color: #000;
}

.like-btn.liked i {
  color: #000;
}

.like-btn .like-text {
  font-size: 0.8rem;
}

.like-btn .like-count {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Edit/Delete actions */
.review-actions {
  display: flex;
  gap: 0.6rem;
}

.review-actions a {
  color: #f4c542;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease;
}

.review-actions a:hover {
  color: #fff;
  transform: scale(1.15);
}

.review-actions i {
  font-size: 1rem;
  cursor: pointer;
  color: var(--brand-yellow);
}

/* No reviews placeholder */
.no-reviews {
  color: var(--muted-text);
  font-style: italic;
}


/* Responsive */
@media (max-width: 768px) {
  .movie-poster { aspect-ratio: 2/3; }
  .movie-grid { gap: 0.8rem; }
}

/* === FIX: Ensure "Read More / Show Less" is visible and works === */
.movie-description {
  color: var(--text-color);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem 0;
  overflow: hidden;
  position: relative;
  display: block; /* changed from -webkit-box for JS toggling */
}

.movie-description .short-text {
  display: inline;
}

.movie-description .full-text {
  display: none;
}

.movie-description.expanded .short-text {
  display: none;
}

.movie-description.expanded .full-text {
  display: inline;
}

.movie-description .read-more {
  color: var(--brand-yellow);
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.3rem;
  display: inline-block;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.movie-description .read-more:hover {
  color: #ffd54f;
}

/* AUTH PAGES */
.auth-page {
  min-height: calc(100vh - 80px); /* reduce whitespace by accounting for navbar height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* push form closer to top */
  padding: 2rem 1rem;
  background: url('https://media.giphy.com/media/v1.Y2lkPWVjZjA1ZTQ3cnoxNXpxb2xuMnYyMXB5aDNyM2hrdm1jcDFvNGY1NHVqMzgzdjhwOCZlcD12MV9naWZzX3JlbGF0ZWQmY3Q9Zw/3o7aDcrsww5Ybp18hq/giphy.gif') center/cover no-repeat;
}

.auth-title {
  margin: 1.5rem 0 1rem 0; /* reduced top margin to cut whitespace */
  font-size: 2rem;
  text-align: center;
  color: var(--text-color);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 400px;
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: var(--radius);
}

.auth-field input,
.auth-field textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #444;
  background: #222;
  color: #fff;
  font-size: 1rem;
  width: 100%;
}

.field-error {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.auth-btn {
  padding: 0.85rem 1.4rem;
  background: var(--brand-yellow);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  width: 100%;
}

.auth-field input,
.auth-field textarea,
.auth-btn {
  box-sizing: border-box; 
}

.auth-btn:hover {
  opacity: 0.85;
}

.auth-switch {
  margin-top: 1rem;
  color: var(--muted-text);
  font-size: 0.9rem;
  text-align: center;
}

.auth-switch a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 600;
}

/* == LIKE BUTTON STYLING (COMPACT) == */
.like-form {
  display: block;            /* full-width line */
  margin: 0.25rem 0;         /* minimal vertical spacing */
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;              /* tighter spacing between icon and text */
  padding: 0.25rem 0.5rem;   /* smaller padding for compact size */
  border: 1.5px solid var(--brand-yellow);
  border-radius: 6px;
  background: transparent;
  color: var(--brand-yellow);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;         /* slightly smaller font */
}

.like-btn i {
  font-size: 0.95rem;         /* keeps icon slightly larger than text */
  transition: transform 0.2s ease, color 0.2s ease;
}

.like-btn:hover i {
  transform: scale(1.15);
}

.like-btn:hover {
  background: var(--brand-yellow);
  color: #000;
}

.like-btn.liked {
  background: var(--brand-yellow);
  color: #000;
}

.like-btn.liked i {
  color: #000;
}

.like-btn .like-text {
  font-size: 0.8rem;
}

.like-btn .like-count {
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================= */
/* LOGOUT / LOGIN PAGE STYLES    */
/* ============================= */

.logout-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.logout-heading {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-align: center;
  font-size: 2rem;
}

.logout-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: var(--radius);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.error-text {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.btn-submit {
  padding: 0.85rem 1.4rem;
  background: var(--brand-yellow);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-submit:hover {
  opacity: 0.85;
}

.logout-footer {
  margin-top: 1rem;
  color: var(--muted-text);
  font-size: 0.9rem;
  text-align: center;
}

.link-signup {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 600;
}

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

/* ============================= */
/* PROFILE PAGE STYLES           */
/* ============================= */

.profile-section {
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.profile-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 100%;
}

.profile-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.profile-bio {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--muted-text);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-input {
  width: 100%;
}

.error-text {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.profile-button {
  background: var(--brand-yellow);
  color: #000;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: center;
  width: 100%;
}

.profile-button:hover {
  opacity: 0.85;
}

/* ============================= */
/* MOVIE DETAIL PAGE STYLES      */
/* ============================= */

.movie-detail-section {
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.movie-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.movie-poster {
  border-radius: 8px;
  margin-bottom: 1.5rem;
  max-width: 300px;
  width: 100%;
  object-fit: cover;
}

.movie-overview {
  max-width: 700px;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.watchlist-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.reviews-heading {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.reviews-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  width: 100%;
}

.review-item {
  background: #222;
  border-radius: 6px;
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.review-actions {
  display: flex;
  gap: 0.6rem;
}

.no-reviews {
  color: var(--muted-text);
  font-style: italic;
}

/* --- Add Review Form --- */

.edit-review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-label {
  font-weight: 600;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
}

.auth-btn {
  align-self: center;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  background: var(--brand-yellow);
  color: #000;
  border: none;
  transition: var(--transition);
}

.auth-btn:hover {
  opacity: 0.85;
}

/* ============================= */
/* EDIT REVIEW PAGE STYLES       */
/* ============================= */

.edit-review-section {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: calc(100vh - 80px);
}

.edit-review-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.edit-review-poster {
  width: 200px;
  border-radius: 6px;
}

.edit-review-title {
  font-size: 1.5rem;
  color: var(--text-color);
  text-align: center;
}

.highlighted-title {
  color: var(--brand-yellow);
}

.edit-review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-label {
  font-weight: 600;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
}

.save-btn {
  align-self: center;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand-yellow);
  text-decoration: underline;
}

.back-link:hover {
  opacity: 0.85;
}

/* ============================= */
/* ADDITIONAL HOME PAGE / MOVIE GRID STYLES */
/* ============================= */

.title-year-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-input-row {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.review-input-row .review-input {
  flex: 1;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
}

.review-comment .review-username {
  color: var(--brand-yellow);
}

.review-comment .review-text {
  color: #fff;
}

.review-comment .review-rating {
  color: var(--accent);
}

/* ============================= */
/* SEARCH PAGE STYLES            */
/* ============================= */

.search-section {
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.search-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  max-width: 400px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
}

.search-btn {
  background: var(--warning);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.error-text {
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.search-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.search-poster {
  width: 100%;
  aspect-ratio: 555/817;
  object-fit: cover;
}

.search-poster.placeholder {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #333;
}

.search-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movie-title {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  color: var(--text-color);
}

.movie-year {
  margin: 0 0 0.5rem 0;
  color: var(--muted-text);
  font-size: 0.85rem;
}

.movie-overview {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.read-more {
  align-self: flex-start;
  color: var(--brand-yellow);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.no-results {
  text-align: center;
  color: var(--muted-text);
  margin-top: 1rem;
}

/* ============================= */
/* WATCHLIST PAGE STYLES         */
/* ============================= */

.watchlist-section {
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.movie-poster {
  width: 100%;
  aspect-ratio: 555/817;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.no-poster {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: #fff;
}

.movie-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movie-title {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  color: var(--text-color);
}

.movie-year {
  margin: 0 0 0.5rem 0;
  color: var(--muted-text);
  font-size: 0.9rem;
  text-align: center;
}

.watched-status {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: var(--text-color);
}

.movie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-review {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
  background: var(--brand-yellow);
  color: #000;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-group {
  display: flex;
  gap: 0.5rem;
}

.btn-accent {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-remove {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0;
  background: var(--muted-text);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.empty-watchlist {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted-text);
}


/* ====== CUSTOM FOOTER ====== */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #1a1a1a;
  color: #9e9e9e;
  font-size: 0.9rem;
}

/* ================== */
/* ACCOUNTS APP FORM STYLING*/
/* =================== */
.profile-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
  display: block;
  box-sizing: border-box;
}

.profile-bio {
  resize: none;
}


/* REVIEW VISUAL FEEDBACK MSGS */
.messages {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert {
  padding: 1rem;
  border-radius: 6px;
  font-weight: 500;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

/* Brand colors */
.alert.success {
  background-color: #ffc107; 
}

.alert.error {
  background-color: #e53935; 
}

/* fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}