:root {
  --brand-colour: #ff6b6b;
  --brand-colour-light: #ff8b8b;
  --brand-colour-lighter: #ffb3b3;
}

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

body {
  font-family: 'Fredoka', sans-serif;
  background: linear-gradient(135deg, #fff1eb, #ace0f9);
  margin: 0;
  padding: 0;
  color: #2d2d2d;
}
.container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
}

nav.navbar {
  display: flex;
  justify-content: flex-end; /* 👈 changed from center */
  gap: 2rem;
  padding: 1rem 2rem; /* 👈 optional: adds more space on right */
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: 'Fredoka', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav.navbar a {
  text-decoration: none;
  color: #4ecdc4;
  font-weight: 600;
  transition: color 0.2s ease;
}
nav.navbar a:hover {
  color: #38bdb3;
}

#app, #dashboard, form, .rota-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin: 1.5rem auto;
  transition: transform 0.2s ease;
  position: relative;
}
.rota-card:hover {
  transform: scale(1.01);
}

.rota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.rota-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.code-copy-btn {
  background-color: #ffd6d6;
  color: #b63838;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  position: relative;
}

.code-copy-btn:hover {
  background-color: #ffc4c4;
  transform: scale(1.02);
}

.code-copy-btn:active {
  transform: scale(0.98);
}

.copy-bubble {
  position: absolute;
  top: -1.5rem;
  right: 0;
  background: #333;
  color: #fff;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 999px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 10;
}

.fade-out {
  opacity: 0;
  transform: scale(0.8);
}

h1, h2, h3, h4 {
  color: var(--brand-colour, #ff6b6b);
  margin-top: 0;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.6rem;
  background-color: #fff;
  margin-top: 0.5rem;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: #4ecdc4;
  outline: none;
}

textarea {
  resize: vertical;
}

button {
  font-family: inherit;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"], button[type="button"], #add-rota-btn {
  background: var(--brand-colour-light, #ff8b8b);
  color: white;
  border: none;
}
button[type="submit"]:hover, button[type="button"]:hover, #add-rota-btn:hover {
  background: var(--brand-colour-lighter, #ffb3b3);
}

.holiday-range {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.holiday-range input {
  flex: 1;
  min-width: 150px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: left;
}
.schedule-table th {
  background-color: #fefefe;
  color: #444;
}

details summary {
  cursor: pointer;
  font-size: 1.2rem;
  background-color: #fefefe;
  border-radius: 0.4rem;
  padding: 0.5rem;
  font-weight: bold;
}

.schedule-list {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}
.schedule-list li {
  margin-bottom: 0.25rem;
  font-family: monospace;
}

.rota-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.rota-actions .small-btn {
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.edit-btn, .delete-btn, .print-btn, .export-xlsx-btn, .duplicate-btn {
  background: var(--brand-colour, #ff6b6b);
  color: white;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4em 1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-right: 0.5em;
}
.edit-btn:hover, .delete-btn:hover, .print-btn:hover, .export-xlsx-btn:hover, .duplicate-btn:hover {
  background: var(--brand-colour-dark, #e55b5b);
  transform: scale(1.05);
}

input[disabled] {
  background-color: #f0f0f0;
  color: #999;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  button {
    width: 100%;
  }

  .holiday-range {
    flex-direction: column;
  }
}
#button-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.75rem;
  z-index: 2001;
}

#logout-btn, #settings-btn {
  background: linear-gradient(90deg, #4ecdc4, #5f9df7);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#logout-btn:hover, #settings-btn:hover {
  background: linear-gradient(90deg, #38bdb3, #468de8);
}


.schedule-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.schedule-pill {
  display: flex;
  align-items: center;
  background: #e0f7fa;
  border: 1px solid #00acc1;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #006064;
  white-space: nowrap;
}

.schedule-date {
  font-weight: bold;
  margin-right: 0.5rem;
}

.schedule-staff {
  font-family: monospace;
}

.signup-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.signup-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.signup-pill.signed {
  background-color: #d1fae5; /* light green */
  border: 1px solid #10b981; /* green border */
  color: #065f46; /* dark green text */
}

.signup-pill.unsigned {
  background-color: #fff;
  border: 1px dashed #ccc;
  color: #999;
  font-style: italic;
}

.signup-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
} 

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
  opacity: 0;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.btn.cancel {
  background-color: #ccc;
  color: #333;
}

.btn.delete {
  background-color: #d9534f;
  color: white;
}

.btn.cancel:hover {
  background-color: #bbb;
}

.btn.delete:hover {
  background-color: #c9302c;
}

.export-xlsx-btn {
  background: var(--brand-colour-light, #ff8b8b);
  color: white;
}
.export-xlsx-btn:hover {
  background: var(--brand-colour-lighter, #ffb3b3);
}

.checkbox-group fieldset {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.6rem;
  background-color: #fff;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  font-weight: bold;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  position: relative;
}

/* Hide the native checkbox */
.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  /* border: 2px solid #4ecdc4; */
 border: 0px;
 /* border-radius: 5px; */
  background-color: transparent;
  cursor: pointer;
  position: relative;
 /* transition: all 0.2s ease; */
}

/* Tick appearance */
.checkbox-group input[type="checkbox"]:checked::before {
  content: "✅";
  color: white;
  position: absolute;
  left: 3px;
  top: -2px;
  font-size: 16px;
}

/* Unchecked appearance */
.checkbox-group input[type="checkbox"]:not(:checked)::before {
  content: "⛔️";
  color: white;
  position: absolute;
  left: 3px;
  top: -2px;
  font-size: 24px;
}

/* Background when checked 
.checkbox-group input[type="checkbox"]:checked {
   background-color: #4ecdc4; 
   border-color: #4ecdc4; 

}*/

/* Optional: fade out disabled checkboxes */
.checkbox-group input[type="checkbox"]:disabled {
  /* opacity: 0.4; */
  cursor: not-allowed;
}

/* This is the colour picker */
input[type="color"] {
  height: 2.5rem;
  width: 100%;
  padding: 0;
}

.premium-tag {
  font-size: 0.8rem;
  color: #a855f7; /* Purple vibe */
  font-weight: bold;
  background-color: #f3e8ff;
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  border-radius: 6px;
  display: inline-block;
}

.org-header {
  display: flex;
  align-items: center;
  width: 100%; /* full width! */
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.org-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: #ddd;
}

.org-info h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-badge {
  display: inline-block;
  margin-top: 0.3rem;
  background-color: #4ecdc4;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-colour, #4ecdc4);
  border: none;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
}

.close-btn:hover {
  background: var(--brand-colour-dark, #38bdb3);
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.close-btn:active {
  transform: scale(0.95);
}

/* Scroll animations for sections */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive rota-grid */
.rota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .rota-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero section polish */
#hero {
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/hero.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  height: 50vh;
  margin-top: 0px;
  margin-bottom: 0px;
}

#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-demo {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

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

.audience-card {
    background: linear-gradient(135deg, #fff1eb, #ace0f9); /* pastel */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(240, 174, 174, 0.05);
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 4px solid #4ecdc4;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.audience-card strong {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: var(--brand-colour, #4ecdc4);
}

.audience-card span {
  display: block;
  margin-top: 0.5rem;
  color: #666;
}

.emoji-badge {
  font-size: 2rem;
  background-color: white;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* How it works section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Features section */
#features {
  background-color: #f9fafe;
  padding: 2rem;
  border-radius: 1rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.4;
}

.features-list .emoji {
  font-size: 1.4rem;
  margin-right: 0.75rem;
}

/* Pricing section */
.alt-price {
  font-size: 0.9rem;
  color: #666;
}

.savings {
  color: #4ecdc4;
  font-weight: 600;
  margin-left: 0.25rem;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.plan-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  padding: 2rem;
  width: 280px;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: scale(1.03);
}

.plan-card h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-colour, #4ecdc4);
}

.plan-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.plan-card ul li {
  margin-bottom: 0.5rem;
}

.plan-card button {
  background: linear-gradient(90deg, #4ecdc4, #5f9df7);
  color: white;
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: bold;
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

/* Final CTA section */
.final-cta {
  background: linear-gradient(135deg, #4ecdc4, #5f9df7) !important;
  color: white;
    text-align: center;
  padding: 3rem 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
}

.final-cta h2 {
  font-size: 2rem;
  color: #2d2d2d;
  margin-bottom: 1rem;
}

.final-cta .tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(90deg, #4ecdc4, #5f9df7);
  color: white;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #38bdb3, #468de8);
}

/* Section spacing and polish */
section {
  margin: 3rem 0;
  padding: 2rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Features list polish */
.schedule-list {
  list-style: none;
  padding: 0;
}

.schedule-list li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

/* Testimonials polish */
#testimonials p {
  font-style: italic;
  text-align: center;
  margin: 1rem 0;
  font-size: 1.1rem;
  color: #555;
}

/* CTA section polish */
#cta {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin: 3rem 0;
}

#cta button {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
}

/* Footer polish */
footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  #hero h2 {
    font-size: 2rem;
  }
  
  #hero p {
    font-size: 1rem;
  }
  
  section {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 1rem;
  }
}

/* Responsive YouTube video embed for features section */
.video-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.video-embed {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
  display: block;
  background: #000;
}

@media (max-width: 768px) {
  .video-embed {
    max-width: 100vw;
    border-radius: 0.75rem;
  }
  .video-embed-wrapper {
    margin-bottom: 1.2rem;
  }
}

/* Auth forms (signup/signin) branding */
.auth-form {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form h2 {
  color: var(--brand-colour, #4ecdc4);
  text-align: center;
  margin-bottom: 1rem;
}

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

.toggle-btn {
  background: linear-gradient(90deg, #f9fafe, #e9ecef);
  color: #4ecdc4;
  border: 2px solid #4ecdc4;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.toggle-btn:hover, .toggle-btn.active {
  background: linear-gradient(90deg, #4ecdc4, #5f9df7);
  color: white;
  border: 2px solid #4ecdc4;
}

.auth-form label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.auth-form input, .auth-form select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.6rem;
  background-color: #fff;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.auth-form input:focus, .auth-form select:focus {
  border-color: #4ecdc4;
  outline: none;
}

.auth-form button[type="submit"] {
  background: linear-gradient(90deg, #4ecdc4, #5f9df7);
  color: white;
  border: none;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.75rem 1.2rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.auth-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #38bdb3, #468de8);
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .container {
    padding: 0.5rem;
  }
  .auth-form {
    padding: 1rem 0.5rem;
  }
}

.rota-block {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.08);
  padding: 1.5rem 1.2rem;
  margin-bottom: 2rem;
  color: #2d2d2d;
  font-size: 1.08em;
  border: 1.5px solid #e0e7ef;
  transition: box-shadow 0.2s;
}
.rota-block:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.13);
}

/* --- Scoped styles for myrota.html --- */
.myrota-page .rota-block {
  padding: 1.1rem 0.9rem;
  margin-bottom: 1.1rem;
}
.myrota-page .rota-block h2 {
  text-align: left;
  margin-bottom: 0.6em;
  font-size: 1.18em;
}
.myrota-page section {
  margin: 1.2rem 0;
  padding: 0.7rem 0;
}
.myrota-page section h2 {
  text-align: left;
  font-size: 1.35em;
  margin-bottom: 1.1em;
}
.myrota-page .date-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.myrota-page .date-pill {
  display: inline-block;
  background: #e0f7fa;
  color: #00796b;
  border-radius: 999px;
  padding: 0.38em 1.1em;
  font-size: 0.98em;
  font-weight: 500;
  margin-bottom: 0.2em;
  margin-right: 0.4em;
  box-shadow: 0 1px 3px rgba(44,62,80,0.07);
  border: 1px solid #b2ebf2;
}
.myrota-page .teammates {
  margin-left: 0.7em;
  color: #888;
  font-size: 0.92em;
  display: inline;
}

/* Leave button for myrota.html */
.leave-btn {
  background: var(--brand-colour, #ff6b6b);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4em 1em;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
  margin-left: 1em;
}
.leave-btn:hover {
  background: var(--brand-colour-dark, #e55b5b);
  transform: scale(1.05);
}

.free-account .duplicate-btn {
  display: none !important;
}
.premium-account .duplicate-btn {
  display: inline-block;
}
