/**
 * RSVP Styles
 * Styles for RSVP section and form
 */

.rsvp {
	background: linear-gradient(rgba(238, 232, 170, 0.85), rgba(238, 232, 170, 0.85));
	color: var(--light-color);
}

.rsvp .section-title{
	color: var(--primary-color);
}

.rsvp .section-subtitle {
	color: var(--dark-color);
}

.rsvp-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 40px;
	border-radius: 10px;
	color: var(--dark-color);
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
}

.form-select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	appearance: none;
	background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat;
	background-position: right 10px center;
}

.form-textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	resize: vertical;
	min-height: 100px;
}

/* Original radio group styles */
.radio-group {
	display: flex;
	gap: 20px;
}

.radio-item {
	display: flex;
	align-items: center;
}

.radio-input {
	margin-right: 8px;
}

/* New styles for guest options */
.guest-options {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-bottom: 20px;
}

.guest-option {
	flex: 1;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.guest-option.selected {
	border-color: var(--primary-color);
	background-color: rgba(139, 35, 35, 0.05);
}

.guest-option svg {
	margin-bottom: 10px;
	opacity: 0.6;
}

.guest-option.selected svg {
	opacity: 1;
}

.guest-option.selected svg path {
	stroke: var(--primary-color);
}

.guest-option-label {
	display: block;
	color: var(--dark-color);
	font-weight: 500;
}

/* New styles for response options */
.response-options {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.response-option {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.response-option.selected {
	border-color: var(--primary-color);
	background-color: rgba(139, 35, 35, 0.05);
}

.emoji {
	font-size: 24px;
	margin-bottom: 8px;
}

.response-text {
	font-weight: bold;
	margin-bottom: 5px;
}

.response-subtext {
	font-size: 14px;
	color: #777;
}

.form-button {
	background-color: var(--primary-color);
	color: var(--light-color);
	border: none;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 600;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 10px;
}

.form-button:hover {
	background-color: #6B1A1A;  /* Darker variant of primary color */
}

.form-success-message {
	margin-top: 20px;
	padding: 15px;
	background-color: rgba(39, 174, 96, 0.1);
	border-left: 4px solid #27ae60;
	border-radius: 4px;
}

.guest-icon-img {
  width: 60px;
  height: 60px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.guest-option.selected .guest-icon-img {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	.rsvp-form {
		padding: 20px;
	}
	
	.radio-group {
		flex-direction: column;
		gap: 10px;
	}
	
	.guest-options,
	.response-options {
		flex-direction: column;
		gap: 10px;
	}
}
