body {
  font-family: 'Linux Libertine', serif;
  background-color: #f7f3ee;
  color: #447821;
  margin: 0;
  padding: 0;
}

/* Global Container */
.wedding-wrapper {
  max-width: 800px;
  margin: 3rem auto;
  background-color: #fff;
  padding: 3rem 3rem 4rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e4d8c3;
}

/* Edwardian-styled headings */
h1, h2, h3 {
  font-family: 'Edwardian Script Semi', cursive;
  font-size: 3rem;
  text-align: center;
  font-weight: 300;
  color: #447821;
  margin-bottom: 2rem;
}

/* Paragraphs and content */
p, li, label {
  font-size: 1.1rem;
  line-height: 1.1;
  font-style: italic !important;
}

ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

ul li {
  margin: 0.5rem 0;
}

/* Form Elements */
form {
  margin-top: 2rem;
}

input[type="radio"] {
  margin-right: 0.5rem;
}

label {
  font-weight: 600;
  display: block;
  margin: 1rem 0 0.25rem;
}

textarea, input, button {
  font-family: 'Linux Libertine', serif;
  font-size: 1rem;
}

/* Button Styling */
button {
  margin-top: 1.5rem;
  background-color: #b89b80;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #a3856f;
}

/* Admin Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 1rem;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 1rem;
  vertical-align: top;
  text-align: left;
}

table th {
  background-color: #f2e8dd;
  font-weight: 600;
}

form.inline {
  display: inline;
}

img.qr-preview {
  display: block;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 120px;
}








/* Buttons */
.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 2px solid #b89b80;
    background-color: transparent;
    color: #b89b80;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease-in-out;
  }
  
  .btn-outline:hover {
    background-color: #f0e6dc;
  }
  
  .btn-small {
    background-color: #d8c2ae;
    border: none;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-small:hover {
    background-color: #c7ae97;
  }
  
  .btn-delete {
    background-color: #9b5d5d;
    color: white;
    padding: 0.4rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
  }
  
  .btn-delete:hover {
    background-color: #843f3f;
  }
  
  /* RSVP Icons */
  .rsvp-icon {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 0.25rem;
    display: inline-block;
    width: 1.2rem;
    text-align: center;
  }
  
  /* QR Preview Fix */
  .qr-preview {
    max-width: 100px;
    border: 1px solid #ccc;
    padding: 0.2rem;
    border-radius: 6px;
  }
  
  .logout-link {
    display: inline-block;
    margin-top: 2rem;
    font-style: italic;
    color: #7a5c48;
  }
  
  .admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 1rem;
    background-color: #fefcf9;
  }
  
  .admin-table th, .admin-table td {
    border: 1px solid #e4d8c3;
    padding: 1rem;
    vertical-align: top;
  }
  
  .admin-table th {
    background-color: #f4ede4;
    color: #4e3a28;
    font-weight: 600;
    text-align: left;
  }


.centralinfo {
    margin: auto;
    text-align: center;
}


/* Green-themed radio buttons */
input.green-radio[type="radio"] {
    accent-color: #447821;
  }
  
  .response-options {
    display: flex;
    justify-content: center; /* ⬅️ Centers the whole radio group */
    gap: 4rem;
    margin-top: 0.5rem;
  }
  
  .response-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-style: italic;
    color: #447821;
  }

  .guest-name {
    font-family: 'Edwardian Script Semi', cursive;
    font-size: 2.2rem;
    font-weight: 300;
    color: #447821;
    margin-bottom: 0.25rem;
    display: block;
  }
  




  

  .side-menu {
    position: fixed;
    top: 40%;
    left: 1rem;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #e4d8c3;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    font-style: italic;
    z-index: 999;
  }
  
  .side-menu p {
    margin: 0.5rem 0;
    text-align: left;
  }
  
  .side-menu a {
    color: #447821;
    text-decoration: none;
  }
  
  .side-menu a:hover {
    text-decoration: underline;
  }
  






/* Centered mobile menu icon */
#menuIconWrapper {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0.3rem;
  left: 0;
  right: 0;
  z-index: 1100;
  text-align: center;
  pointer-events: none;
}

#menuIcon {
  font-size: 2rem;
  color: #b89b80;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  pointer-events: all;
}

/* Fullscreen overlay menu */
.side-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1090;
  padding-top: 6rem;
  text-align: center;
  font-style: italic;
}

.side-menu-overlay.open {
  display: block;
}

.side-menu-overlay .menu-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 300px;
  margin: auto;
}

.side-menu-overlay a {
  font-size: 1.3rem;
  color: #447821;
  text-decoration: none;
}

.side-menu-overlay a:hover {
  text-decoration: underline;
}

/* Responsive control */
@media (max-width: 768px) {
  #menuIconWrapper {
    display: flex;
  }

  .side-menu {
    display: none !important;
  }
}

@media (min-width: 769px) {
  #menuIconWrapper {
    display: none !important;
  }

  .side-menu-overlay {
    display: none !important;
  }

  .side-menu {
    display: block;
  }
}







.styled-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-family: 'Linux Libertine', serif;
  font-style: italic;
  color: #447821;
  background-color: #fefcf9;
  border: 2px solid #447821;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23447821' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border 0.2s ease-in-out;
  margin-bottom: 1.5rem;
}

.styled-select:focus {
  outline: none;
  border-color: #447821;
  box-shadow: 0 0 0 3px rgba(68, 120, 33, 0.2);
}

.styled-select option {
  font-style: normal;
  color: #447821;
  background-color: #fffdf9;
}


label {
  font-weight: 600;
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  display: block;
  color: #447821;
}







.admin-wrapper {
  max-width: 96%;
  margin: 3rem 3rem;
  background-color: #fff;
  padding: 3rem 3rem 3rem 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e4d8c3;
  overflow-x: auto;
}




.badge {
    background-color: #b48ec7;
    color: white;
    padding: 2px 6px;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-left: 4px;
  }