/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: url('/resources/graphics/inviteTree1000.jpeg') no-repeat top left fixed;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    text-align: center;
    max-width: 600px;
    margin: 8% auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.container2 {
	text-align: center;
	max-width: 95%;
	margin: 5%;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.responsive-image {
  width: 90%;        /* Scale to the width of the container */
  height: auto;      /* Maintain aspect ratio */
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* General styles for the form */
.rsvp-form {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-form label {
    margin-right: 5px; /* Add space between radio buttons and labels */
}

.rsvp-form input[type="text"],
.rsvp-form input[type="number"],
.rsvp-form button {
    padding: 5px;
    margin: 2px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #007BFF;
    margin-left: auto;
    margin-right: auto;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
}

button:hover {
    background-color: #0056b3;
}


/* Hide the default radio button */
input[type="radio"] {
    display: none; /* Remove default appearance */
}

/* Custom radio button styled as a button */
input[type="radio"] + label {
    display: inline-block;
    padding: 0px 5px;
    background-color: #DDDDDD; /* Normal button color */
    color: black;
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: all 0.2s ease; /* Smooth transition for hover and active */
}

/* Hover state */
input[type="radio"] + label:hover {
    color: white;
    background-color: #007BFF; /* Darken button on hover */
}

/* "Pushed-down" effect when radio button is selected */
input[type="radio"]:checked + label {
    color: white;
    background-color: #007BFF; /* Darker green for selected state */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* Pushed effect */
}

/* Focus state for accessibility */
input[type="radio"]:focus + label {
    color: white;
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

/* Optional: Make it look more like a button when disabled */
input[type="radio"]:disabled + label {
    background-color: #b5b5b5;
    color: #e0e0e0;
    cursor: not-allowed;
    border-color: #dcdcdc;
}

/* Style the table for radio button choices */
.rsvp-form table {
  margin-left: auto;
  margin-right: auto;
    margin-bottom: 00px;
}

.rsvp-form td {
    padding: 0px;
}

/* Footer styles */
footer {
    text-align: center;
    margin-top: 10px;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

a {
    text-decoration: none;
    color: #007BFF;
}

a:hover {
    text-decoration: underline;
}

/* Adjustments for smaller input fields */
.small-field {
    width: 60px; /* Makes the "Number of Guests" field smaller */
}

.large-field {
    width: 300px; /* Makes the "Guest Name(s)" field wider */
}
