/* Static CSS rules for invitation_template_02.twig - Walimatul Khitan Template */

.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(255, 255, 255, 0.1);
	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;
	left: -100px;
	transform: rotate(25deg);
}

.flower-wrapper-right {
	top: 0px;
	right: -80px;
	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-parents h2 {
	font-size: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
	animation: fadeIn 1.5s ease-in-out;
}

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

#section-parents 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: 300px;
	border: none;
	border-radius: 10px;
}

.btn {
	border-radius: 25px;
	padding: 10px 25px;
	font-weight: 600;
	transition: all 0.3s ease;
}

#open-inv-btn {
	background: linear-gradient(45deg, var(--tblr-primary), var(--tblr-secondary));
	border: none;
	color: white;
	font-size: 1.1rem;
	padding: 15px 30px;
	border-radius: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	position: relative;
	z-index: 10;
}

#open-inv-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#open-inv-btn.scroll-down {
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid white;
	color: white;
}

.debit-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 15px;
	padding: 25px;
	color: white;
	position: relative;
	overflow: hidden;
	max-width: 300px;
	margin: 0 auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.debit-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: shimmer 3s infinite;
}

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

.bank-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}

.card-details {
	position: relative;
	height: 60px;
	margin-bottom: 20px;
}

.card-design {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.card-design .horizontal-line,
.card-design .vertical-line {
	position: absolute;
	background: rgba(255, 255, 255, 0.3);
}

.card-design .horizontal-line {
	height: 2px;
	width: 80%;
	top: 50%;
	left: 10%;
}

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

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

.card-design .vertical-line {
	width: 2px;
	height: 60%;
	left: 20%;
	top: 20%;
}

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

.bank-logo {
	position: absolute;
	top: 50%;
	right: 10%;
	transform: translateY(-50%);
	width: 50px;
	height: 30px;
}

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

.account-number {
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	letter-spacing: 2px;
}

.account-owner {
	font-size: 1rem;
	text-align: center;
	opacity: 0.9;
}

.copy-btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.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: 20px 0;
}

.countdown-item {
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	padding: 15px 10px;
	border-radius: 10px;
	min-width: 60px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

#section-map p,
#section-gift p,
#section-thanks p,
#section-wishes p {
	font-size: 1rem;
	line-height: 1.6;
}

#wishes-form input,
#wishes-form textarea {
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 12px 15px;
}

.chat-bubble p {
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0;
}

#wishes-chat-container {
	max-height: 300px;
	overflow-y: auto;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

#wishes-chat-container::-webkit-scrollbar {
	width: 5px;
}

.chat-bubble {
	background: rgba(255, 255, 255, 0.1);
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
}

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

.chat-bubble-title .chat-bubble-date {
	font-size: 0.8rem;
	opacity: 0.7;
}

.chat-bubble-body p {
	font-size: 0.9rem;
	margin-top: 5px;
}

#section-gallery .img-responsive {
	background-size: cover;
	background-position: center;
	cursor: pointer;
	transition: transform 0.3s ease;
}

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

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

.spinner {
	display: none;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1050;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-dialog {
	margin: 0;
	max-width: 500px;
	width: 90%;
}

.modal-content {
	background: white;
	border-radius: 15px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	border: none;
	overflow: hidden;
}

.modal-header {
	border-bottom: 1px solid #dee2e6;
	padding: 20px;
	background: linear-gradient(135deg, var(--tblr-primary), var(--tblr-secondary));
	color: white;
}

.modal-title {
	font-size: 1.2rem;
	font-weight: 600;
}

.modal-body {
	padding: 20px;
	font-size: 1rem;
	line-height: 1.5;
}

.modal-footer {
	border-top: 1px solid #dee2e6;
	padding: 15px 20px;
	background: #f8f9fa;
}

#container-cover > .flower-bottom-left {
	position: absolute;
	bottom: -100px;
	left: -120px;
	animation-delay: 1s;
}

#container-cover > .flower-bottom-right {
	position: absolute;
	bottom: -100px;
	right: -120px;
	animation-delay: 0s;
}

/* Loading Screen */
#loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--tblr-primary), var(--tblr-secondary));
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.loader {
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
	.container-inv,
	.container-cover {
		min-width: 100%;
	}
	
	h1 {
		font-size: 1.5rem !important;
	}
	
	h2 {
		font-size: 1.3rem !important;
	}
	
	.countdown {
		gap: 10px;
	}
	
	.countdown-item {
		min-width: 50px;
		padding: 10px 5px;
	}
	
	.countdown-item span {
		font-size: 1.2rem;
	}
	
	.vintage-door-frame {
		width: 150px;
		height: 200px;
	}
	
	.flower {
		width: 200px;
		height: 200px;
	}
}

/* Button Group Styling */
.btn-group {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.btn-group .btn {
	flex: 1;
	max-width: 100px;
}

/* Form Check Styling */
.form-check {
	margin-bottom: 10px;
}

.form-check-input:checked {
	background-color: var(--tblr-primary);
	border-color: var(--tblr-primary);
}

.form-check-label {
	font-size: 0.9rem;
	color: #666;
} 