@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');


:root {
	--color-slate: #334155;
	--color-purple: #833DFD;
	--color-red: #DC2626;
}


[v-cloak] {
	display: none;
}



.rs-form-page {

	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;

	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;

	background: rgba(241, 245, 249, 0.2);

	color: var(--color-slate);
}

@media (max-width: 768px) {
	.rs-form-page {
		grid-template-columns: 1fr;
	}
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Inter', sans-serif;
}

/* Sidebar */
.rs-sidebar {
	background: linear-gradient(180deg, #833DFD 0%, #21004D 100%);
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
	color: white;
	position: relative;
	height: 100%;
}

.rs-sidebar-inner {
	position: sticky;
	top: 0;
	padding: min(12vw, 120px) 6vw 8vw 8vw;
}

.rs-sidebar-title {
	font-size: 22px;
	font-weight: 500;
	margin-top: 12px;
}

.rs-sidebar-intro {
	margin-top: 40px;
	max-width: 420px;
}

.rs-sidebar-image {
	margin: max(3vw, 40px) -12px 0;
	border: 12px solid #662E91;
	border-radius: 12px;
	width: fit-content;
}

.rs-swag-image {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.rs-form-container {
	padding: 6vw 8vw 8vw 6vw;
}


.rs-form-title {
	font-size: 2rem;
	margin: 0 0 1.5rem;
	font-weight: 600;
}

.rs-form-intro p:last-child {
	margin-bottom: 0;
}

/* Messages */
.rs-form-message {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.rs-form-success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.rs-form-errors {
	background: #ffebee;
	color: var(--color-red);
	border: 1px solid #ef9a9a;
}

.rs-form-errors ul {
	margin: 0;
	padding-left: 1.25rem;
}

/* Fieldsets */
.rs-fieldset {
	border: none;
	padding: 0;
	appearance: none;
	margin-top: 0.5rem;
}

.rs-fieldset legend {
	font-weight: 700;
	font-size: 1.3125rem;
	padding: 0;
	margin: 1.5rem 0;
}

/* Form fields */
.rs-order-form .rs-form-field {
	margin-bottom: 1.5rem;
}

.rs-order-form label {
	display: block;
	/* font-weight: 500; */
	margin-bottom: 0.25rem;
}

.rs-order-form .required {
	color: var(--color-red);
}

.rs-order-form input[type="text"],
.rs-order-form input[type="email"],
.rs-order-form input[type="tel"],
.rs-order-form input[type="number"],
.rs-order-form textarea,
.rs-order-form select {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #CBD5E1;
	border-radius: 6px;
	font-size: 1rem;
	box-sizing: border-box;
	font-family: inherit;
}

.rs-order-form input:focus,
.rs-order-form textarea:focus,
.rs-order-form select:focus {
	/* border-color: var(--color-slate); */
	outline: 2px solid var(--color-slate);
	/* box-shadow: 0 0 0 2px rgba(51, 65, 85, 0.2); */
}

.rs-order-form .rs-invalid {
	border-color: var(--color-red) !important;
}

.rs-order-form .rs-invalid:focus {
	box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.2);
}

.rs-field-error {
	display: block;
	color: var(--color-red);
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

/* Row layout for city/province/postal */
.rs-form-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.rs-field-city {
	flex: 2;
	min-width: 150px;
}

.rs-field-province {
	flex: 2;
	min-width: 150px;
}

.rs-field-postal {
	flex: 1;
	min-width: 120px;
}

/* Checkbox */
.rs-checkbox-field {
	margin-bottom: 1.25rem;
}

.rs-checkbox-label {
	display: flex !important;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400 !important;
	cursor: pointer;
}

.rs-checkbox-label input[type="checkbox"] {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border: 1px solid #CBD5E1;
	appearance: none;
	border-radius: 6px;

	margin-top: 0.25rem;
	accent-color: #833DFD;
	accent-color: var(--color-purple);
}

.rs-checkbox-label input[type="checkbox"]:checked {
	background-color: var(--color-purple);
	border-color: var(--color-purple);

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px 14px;
}


/* Submit */
.rs-form-submit {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.rs-button {
	display: inline-block;
	background: var(--color-purple);
	color: #fff;
	border: none;
	padding: 0.8rem 1.5rem;
	font-size: 1rem;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s;

	font-family: inherit;
	font-weight: 600;

	width: 100%;
	/* height: 40px; */

	background: linear-gradient(90deg, rgba(131, 61, 253, 0.4) 0%, rgba(33, 0, 77, 0.4) 100%), #833DFD;
	border-radius: 6px;

}

.rs-button:hover,
.rs-button:focus {
	background: linear-gradient(90deg, rgba(33, 0, 77, 0.4) 0%, rgba(33, 0, 77, 0.5) 100%), #833DFD;

	color: #fff;
	outline: none;
}

.rs-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Thank you page */
.rs-thank-you {
	/* text-align: center; */
}


.rs-thank-you-subtitle {
	margin: 2rem 0;
}

.rs-thank-you-subtitle p {
	margin: 0;
}

.rs-thank-you-subtitle strong {
	font-weight: 600;
}

.rs-order-meta {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
}

.rs-order-meta p {
	margin: 0.25rem 0;
}

.rs-thankyou-bottom {
	margin-top: 32px;
}

.rs-order-summary {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #CBD5E1;
	border-radius: 12px;
	text-align: left;
}

.rs-summary-cell {
	padding: 1.25rem;
	vertical-align: top;
	border-bottom: 1px solid #CBD5E1;
	border-right: 1px solid #CBD5E1;
}

.rs-summary-cell:last-child {
	border-right: none;
}

tr:last-child .rs-summary-cell {
	border-bottom: none;
}

.rs-summary-footer p {
	margin: 0.25rem 0;
}

.rs-summary-footer p:first-child {
	margin-top: 0;
}

.rs-summary-footer p:last-child {
	margin-bottom: 0;
}

.rs-summary-section {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #CBD5E1;
}

.rs-summary-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.rs-summary-section h4 {
	margin: 0 0 0.25rem;
	font-size: 14px;
}

.rs-summary-section p {
	margin: 0;
}

strong {
	font-weight: 600;
}