/* Restaurant Reservations - Frontend Styles */

.rr-booking-wrapper {
	max-width: 600px;
	margin: 40px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.rr-booking-form {
	background: #ffffff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rr-booking-form h2 {
	margin: 0 0 30px 0;
	font-size: 28px;
	color: #1e1e1e;
	text-align: center;
}

.rr-form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.rr-form-row:last-child {
	margin-bottom: 0;
}

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

.rr-form-group label {
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
	font-size: 14px;
}

.rr-form-group input,
.rr-form-group select,
.rr-form-group textarea {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s;
	font-family: inherit;
}

.rr-form-group input:focus,
.rr-form-group select:focus,
.rr-form-group textarea:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}

.rr-form-group textarea {
	resize: vertical;
}

.rr-form-divider {
	height: 1px;
	background: #e5e5e5;
	margin: 30px 0;
}

.rr-form-submit {
	margin-top: 30px;
}

.rr-submit-btn {
	width: 100%;
	padding: 16px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.rr-submit-btn:hover {
	background: #005177;
}

.rr-submit-btn:disabled {
	background: #999;
	cursor: not-allowed;
}

/* Success Message */
.rr-booking-success {
	background: #ffffff;
	padding: 60px 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.rr-success-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: #46b450;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	font-weight: bold;
}

.rr-booking-success h2 {
	margin: 0 0 15px 0;
	color: #1e1e1e;
	font-size: 28px;
}

.rr-booking-success p {
	color: #666;
	font-size: 16px;
	margin: 0 0 30px 0;
}

.rr-btn-new {
	padding: 12px 30px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.rr-btn-new:hover {
	background: #005177;
}

/* Messages */
#rr-messages {
	margin-bottom: 20px;
}

.rr-message {
	padding: 15px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.rr-message.rr-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.rr-message.rr-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.rr-message-icon {
	font-size: 20px;
}

.rr-message-text {
	flex: 1;
}

/* Responsive */
@media (max-width: 600px) {
	.rr-booking-wrapper {
		margin: 20px;
	}
	
	.rr-booking-form {
		padding: 30px 20px;
	}
	
	.rr-form-row {
		flex-direction: column;
		gap: 20px;
	}
	
	.rr-booking-form h2 {
		font-size: 24px;
	}
}