/* Static CSS rules for invitation_template_01.twig */

.container-inv,
.container-cover {
	min-width: 370px;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

h1 {
	font-size: 1.8rem !important;
}

h2 {
	font-size: 1.5rem !important;
}

.music-button-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 7px;
	justify-content: center;
	align-items: center;
	opacity: 0.4;
	transition: opacity 1s linear;
}

.disk {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	animation: spin 9s linear infinite paused;
	z-index: 1;
}

.disk-shadow {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: white;
	opacity: 1;
	z-index: -1;
}

.disk.playing {
	animation-play-state: running;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.glass-card {
	background: rgba(38, 198, 198, 0); /* Adjusted to a static default if original was dynamic */
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	max-width: 90%;
	margin: 0 auto;
	padding: 20px;
}

.text-quote {
	font-size: 17px;
	font-weight: 400;
	line-height: 22px;
	color: #292929;
}

.photo-container {
	position: relative;
	width: 180px;
	height: 180px;
}

.photo-container img {
	position: relative;
	z-index: 1;
}

#bubbles {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.flower-wrapper {
	position: absolute;
	z-index: 1;
	width: 250px !important;
}

.flower-wrapper-left {
	top: -20px; /* Was -30px */
	left: -100px; /* Was -130px */
	transform: rotate(25deg);
}

.flower-wrapper-right {
	top: 0px;    /* Was 10px */
	right: -80px; /* Was -100px */
	transform: rotate(-25deg);
}

.flower {
	width: 300px;
	height: 300px;
	animation: sway 8s infinite ease-in-out;
	z-index: 1;
	transform-origin: bottom;
}

@keyframes sway {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(10deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

.vintage-door-frame {
	position: relative;
	width: 200px;
	height: 250px;
	margin: 0 auto;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.vintage-door-frame img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	height: 80%;
	object-fit: cover;
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

#section-couple h2 {
	font-size: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
	animation: fadeIn 1.5s ease-in-out;
}

#section-couple h3,
#section-event h3 {
	font-size: 1.2rem;
	text-align: center;
}

#section-couple p {
	font-size: 1.1rem;
	text-align: center;
}

#section-event p {
	font-size: 1rem;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.google-map {
	width: 100%;
	height: 200px; /* Adjusted from 300px in original to 200px as per example in previous turn */
	border: 0;
	border-radius: 10px;
}

.btn {
	z-index: 10;
}

#open-inv-btn {
	position: relative;
	z-index: 10;
	transition: all 0.3s ease;
}

#open-inv-btn.scroll-down {
	padding: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.debit-card {
	background: linear-gradient(135deg, rgba(139, 111, 71, 0.25), rgba(139, 111, 71, 0.15));
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 1rem;
	font-family: monospace;
	width: 100% !important;
	max-width: 320px;
	aspect-ratio: 1.75 / 1;
	padding: 1rem;
	text-align: left;
	margin: 1rem auto;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: white;
	position: relative;
	overflow: hidden;
}

.debit-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 100%);
	transform: rotate(30deg);
	pointer-events: none;
}

.bank-name {
	color: #30318B;
	margin-bottom: 0.5rem;
}

.card-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.card-design {
	position: relative;
	width: 70px;
	height: 50px;
	border-radius: 0.5rem;
	overflow: hidden;
	background: linear-gradient(113deg, rgb(213, 172, 63) 0%, rgb(255, 224, 136) 50%, rgb(193, 140, 1) 100%);
}

.card-design .horizontal-line,
.card-design .vertical-line {
	position: absolute;
	background-color: rgb(161, 119, 18);
	border-radius: 0.5rem;
}

.card-design .horizontal-line {
	height: 1px;
	left: 0;
	right: 0;
}

.card-design .horizontal-line.bottom {
	bottom: 25%;
}

.card-design .horizontal-line:not(.bottom) {
	top: 25%;
}

.card-design .vertical-line {
	width: 1px;
	top: 0;
	bottom: 0;
}

.card-design .vertical-line.left {
	left: 30%;
}

.card-design .vertical-line.right {
	right: 30%;
}

.bank-logo {
	width: 90px;
	height: 50px;
	border-radius: 0.5rem;
}

.bank-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.account-number {
	color: #333 !important;
	font-size: 18px;
	font-weight: bold;
}

.account-owner {
	color: #333 !important;
	font-size: 14px;
	margin-top: 0.5rem;
}

.copy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	max-width: 320px;
	margin: 0 auto;
}

.copy-btn .icon-check {
	display: none;
}

.copy-btn.copied .icon-check {
	display: inline-block;
}

.copy-btn.copied .copy-text {
	display: none;
}

.countdown {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.countdown-item {
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-item span {
	display: block;
	font-size: 1.5rem;
	font-weight: bold;
}

.countdown-item small {
	font-size: 0.8rem;
}

#section-map p,
#section-gift p,
#section-thanks p,
#section-wishes p {
	font-size: 1rem;
	color: #333;
}

#wishes-form input,
#wishes-form textarea {
	font-size: 16px !important;
}

.chat-bubble p {
	font-size: 0.9rem;
	color: #333;
}

#wishes-chat-container {
	max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	position: relative;
}

#wishes-chat-container::-webkit-scrollbar {
	display: none;
}

.chat-bubble {
	padding: 10px;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.chat-bubble-title .chat-bubble-author {
	font-size: 0.9rem !important;
	font-weight: bold;
}

.chat-bubble-title .chat-bubble-date {
	font-size: 0.7rem !important;
}

.chat-bubble-body p {
	font-size: 0.9rem !important;
	color: #333;
	margin-bottom: 0;
}

#section-gallery .img-responsive {
	transition: transform 0.3s ease;
}

#section-gallery .img-responsive:hover {
	transform: scale(1.05);
}

@keyframes fade {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.spinner {
	display: none;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1050;
	align-items: center;
	justify-content: center;
}

.modal.show {
	display: flex;
}

.modal-dialog {
	max-width: 400px;
	width: 90%;
	margin: auto;
}

.modal-content {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.modal-header {
	padding: 1rem;
	/* Assuming --tblr-border-color will be available from BaseLayout.twig or defined in dynamic styles */
	border-bottom: 1px solid var(--tblr-border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-title {
	font-size: 1.25rem;
}

.modal-body {
	padding: 1rem;
	color: #333;
}

.modal-footer {
	padding: 1rem;
	/* Assuming --tblr-border-color will be available */
	border-top: 1px solid var(--tblr-border-color);
	text-align: right;
}

/* Specific positioning for flowers at the bottom of the cover */
#container-cover > .flower-bottom-left {
    position: absolute;
    bottom: -60px;
    left: -80px;
    animation-delay: 2.2s;
}

#container-cover > .flower-bottom-right {
    position: absolute;
    bottom: -60px;
    right: -80px;
    animation-delay: 2s;
}
