/* ========== PUJA BOOKING MODAL ========== */

.puja-modal-content {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.puja-modal-header {
    background: linear-gradient(135deg, rgba(244, 91, 31, 0.05) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: none;
    border-bottom: 2px solid rgba(244, 91, 31, 0.15) !important;
    padding: clamp(0.75rem, 0.6487rem + 0.5063vw, 1.25rem) clamp(0.9375rem, 0.8742rem + 0.3165vw, 1.25rem) !important;
    box-shadow: 0 2px 8px rgba(244, 91, 31, 0.08);
    position: relative;
    overflow: hidden;
}

.puja-modal-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -3%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, #f6641b14 70%);
    border-radius: 50%;
}

@keyframes floatDecor {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 10px) scale(1.1);
    }
}

@keyframes rotateDecor {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.puja-modal-main-title {
    color: var(--themeColor);
    margin: 0;
    text-shadow: 0 1px 2px rgba(244, 91, 31, 0.1);
}

.puja-modal-main-title::after {
    content: '';
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--themeColor), var(--secondaryColor));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(244, 91, 31, 0.3);
}

.puja-modal-close {
    background: rgba(244, 91, 31, 0.1) !important;
    border: 1px solid var(--themeColor) !important;
    border-radius: 50% !important;
    width: clamp(1.25rem, 1.25rem + 0vw, 1.25rem) !important;
    height: clamp(1.25rem, 1.25rem + 0vw, 1.25rem) !important;
    color: var(--themeColor) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(244, 91, 31, 0.2);
}

.puja-modal-close:hover {
    background: linear-gradient(135deg, var(--themeColor), var(--secondaryColor));
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(244, 91, 31, 0.4);
}

.puja-modal-body {
    padding: clamp(0.9375rem, 0.8742rem + 0.3165vw, 1.25rem);
}

/* Puja Booking Card */
.puja-booking-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    gap: clamp(0.75rem, 0.712rem + 0.1899vw, 0.9375rem);
    border: 1px solid rgba(244, 91, 31, 0.1);
}

.puja-booking-image {
    flex-shrink: 0;
}

.puja-card-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.puja-booking-details {
    flex: 1;
}

.puja-booking-description {
    color: #718096;
}

.puja-booking-location {
    gap: clamp(0.375rem, 0.2611rem + 0.5696vw, 0.9375rem);
}

.location-item i {
    color: var(--themeColor);
}

.addon-section {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(244, 91, 31, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.addon-title {
    border-bottom: 1px solid #f1f5f9;
}

.addon-item-row {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fafafa;
    gap: 12px;
    margin-bottom: 10px;
}

.addon-quantity-wrapper {
    background: white;
    border-radius: 6px;
    box-shadow: 0px 0px 10px #dfdfdf;
    padding: 4px 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    gap: 6px;
}

.addon-qty-btn {
    width: 18px;
    height: 18px;
    background: rgb(251 128 12);
    border-radius: 4px;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: 0 2px 6px rgba(244, 91, 31, 0.3);
}

.addon-qty-btn:active {
    transform: scale(0.92);
}

.addon-qty-display {
    color: #333;
    line-height: 1;
}

.addon-icon-wrapper {
    flex-shrink: 0;
}

.addon-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--themeColor), var(--secondaryColor));
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(244, 91, 31, 0.25);
}

.addon-content-text {
    flex: 1;
    min-width: 0;
}

.bill-details-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(244, 91, 31, 0.1);
    height: fit-content;
    top: 20px;
}

.bill-item-main {
    background: white;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.bill-item-label {
    color: #718096;
}

.bill-item-type {
    color: #718096;
}

.no-addons-text {
    color: #A0AEC0;
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin: 0;
}

.bill-total-section {
    border-top: 2px solid rgba(244, 91, 31, 0.2);
}

.bill-total-label {
    color: #2D3748;
}

.bill-total-amount {
    background-color: rgba(244, 91, 31, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.puja-modal-footer {
    background: linear-gradient(135deg, rgba(244, 91, 31, 0.05) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: none;
    border-top: 2px solid rgba(244, 91, 31, 0.15) !important;
    padding: 16px 20px !important;
    box-shadow: 0 -2px 8px rgba(244, 91, 31, 0.08);
    position: relative;
    overflow: hidden;
}

.puja-modal-footer::before {
    content: '🪷';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 40px;
    opacity: 0.15;
    animation: rotateDecor 10s linear infinite;
}

.modal-next-btn {
    background: linear-gradient(135deg, var(--themeColor), var(--secondaryColor));
    padding: 14px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 91, 31, 0.35);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.modal-next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modal-next-btn:hover::before {
    left: 100%;
}

.modal-next-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 91, 31, 0.5);
    color: white;
}

.modal-next-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 91, 31, 0.4);
}

.modal-next-btn i {
    transition: transform 0.3s ease;
}

.modal-next-btn:hover i {
    transform: translateX(6px);
}

.form-control,
.form-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--themeColor) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 91, 31, 0.25) !important;
}

.country-code {
    max-width: 80px;
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 6px 6px 0;
}

.whatsapp-updates {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
}

.gotra-checkbox-wrapper {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

/* Participants Section */
.btn-add-participant {
    background: #22c55e;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

.btn-add-participant:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.participant-row {
    background: rgba(244, 91, 31, 0.05);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: clamp(0.625rem, 0.5997rem + 0.1266vw, 0.75rem);
    margin-bottom: 8px;
}

.btn-remove-participant {
    background: #ffe5e5;
    border: 1px solid #ef4444;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    color: #ef4444;
    transition: all 0.3s ease;
}

.btn-remove-participant:hover {
    background: #dc2626;
    transform: scale(1.1);
    color: #fff;
}

/* Prasad Options */
.prasad-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    color: #4A5568;
    transition: all 0.3s ease;
}

.prasad-option:hover {
    border-color: var(--themeColor);
    background: rgba(244, 91, 31, 0.05);
}

.prasad-option.active {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.prasad-option[data-value="no"].active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.delivery-address-section {
    background: rgba(244, 91, 31, 0.05);
    border: 1px solid rgba(244, 91, 31, 0.1);
    border-radius: 8px;
    padding: clamp(0.75rem, 0.712rem + 0.1899vw, 0.9375rem);
}

/* ========== THANK YOU MODAL STYLES ========== */

.thank-you-modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.thank-you-modal-body::before {
    content: '';
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 25% 25%, rgba(244, 91, 31, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 152, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 200, 100, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
    z-index: 1;
}

.thank-you-modal-body::after {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 50px,
            rgba(244, 91, 31, 0.02) 50px,
            rgba(244, 91, 31, 0.02) 51px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 50px,
            rgba(255, 152, 0, 0.02) 50px,
            rgba(255, 152, 0, 0.02) 51px);
    animation: gradientShift 10s ease-in-out infinite;
    z-index: 1;
}

.thank-you-modal-body>* {
    z-index: 2;
}

.success-animation-container {
    width: clamp(5rem, 4.7468rem + 1.2658vw, 6.25rem);
    height: clamp(5rem, 4.7468rem + 1.2658vw, 6.25rem);
    margin: 0 auto;
    animation: containerBounce 2s ease-in-out infinite;
}

@keyframes containerBounce {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    25% {
        transform: scale(1.05) translateY(-5px);
    }

    50% {
        transform: scale(0.95) translateY(0);
    }

    75% {
        transform: scale(1.02) translateY(-3px);
    }
}

.ripple-circle {
    border: 3px solid rgba(76, 175, 80, 0.5);
    border-radius: 50%;
    animation: rippleWave 2.5s ease-out infinite;
}

.ripple-1 {
    width: clamp(3.75rem, 3.4968rem + 1.2658vw, 5rem);
    height: clamp(3.75rem, 3.4968rem + 1.2658vw, 5rem);
    animation-delay: 0s;
}

.success-circle {
    width: clamp(3.125rem, 2.9984rem + 0.6329vw, 3.75rem);
    height: clamp(3.125rem, 2.9984rem + 0.6329vw, 3.75rem);
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6), 0 0 0 10px rgba(76, 175, 80, 0.1);
        transform: scale(1.05);
    }
}

@keyframes rippleWave {
    0% {
        transform: scale(0.7);
        opacity: 1;
        border-width: 3px;
    }

    50% {
        opacity: 0.6;
        border-width: 2px;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
        border-width: 1px;
    }
}

.om-symbol {
    color: var(--themeColor);
    filter: drop-shadow(0 2px 4px rgba(244, 91, 31, 0.3));
}

.thank-you-title {
    color: var(--themeColor);
    text-shadow: 0 3px 6px rgba(244, 91, 31, 0.15);
    background: linear-gradient(135deg, var(--themeColor), var(--secondaryColor));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-subtitle {
    color: #2c3e50;
}

.btn-close:focus {
    box-shadow: none;
}

.success-message {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
}

.success-content {
    flex: 1;
}

.success-title {
    color: #2e7d32;
}

.success-desc {
    color: #555;
    line-height: 1.6;
}

.booking-confirmation-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 6px 20px rgb(117 117 117 / 12%);
    position: relative;
    overflow: hidden;

}


.confirmation-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.detail-row {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-row:last-child {
    border-bottom: none;
    padding-top: 14px;
}

.detail-label {
    color: #666;
}

.detail-value {
    color: #2c3e50;
}

.blessing-text {
    background: linear-gradient(135deg, rgba(244, 91, 31, 0.08), rgba(255, 152, 0, 0.06));
    border: 1px solid #f45b1f00;
    border-radius: 10px;
    padding: 14px;
}

.sanskrit-text {
    font-style: italic;
    line-height: 1.8;
}

.btn-thank-you-primary {
    background: linear-gradient(135deg, var(--themeColor), var(--secondaryColor));
    border: none;
    border-radius: 14px;
    padding: 14px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(244, 91, 31, 0.4);
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-thank-you-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-thank-you-primary:hover::before {
    left: 100%;
}

.btn-thank-you-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 91, 31, 0.5);
    animation: none;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(244, 91, 31, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(244, 91, 31, 0.7), 0 0 0 8px rgba(244, 91, 31, 0.1);
    }
}

.btn-thank-you-secondary {
    background: transparent;
    border: 1px solid #f45b1f42;
    border-radius: 8px;
    padding: clamp(0.5rem, 0.4747rem + 0.1266vw, 0.625rem) clamp(1rem, 0.9494rem + 0.2532vw, 1.25rem);
    color: var(--themeColor);
    transition: all 0.3s ease;
    flex: 1;
}

.btn-thank-you-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 91, 31, 0.3);
}

@keyframes simpleRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes omPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.floating-elements {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-om {
    color: rgba(244, 91, 31, 0.3);
}

.float-om-1 {
    top: 15%;
    left: 10%;
    animation: floatUpDown 6s ease-in-out infinite;
}

.float-om-2 {
    top: 25%;
    right: 15%;
    animation: floatUpDown 8s ease-in-out infinite reverse;
}

.float-om-3 {
    bottom: 20%;
    left: 20%;
    animation: floatUpDown 7s ease-in-out infinite;
}

.float-lotus {
    opacity: 0.4;
}

.float-lotus-1 {
    top: 30%;
    left: 5%;
    animation: floatRotate 10s linear infinite;
}

.float-lotus-2 {
    bottom: 30%;
    right: 10%;
    animation: floatRotate 12s linear infinite reverse;
}

.float-star {
    opacity: 0.5;
}

.float-star-1 {
    top: 10%;
    right: 25%;
    animation: twinkle 3s ease-in-out infinite;
}

.float-star-2 {
    top: 60%;
    left: 8%;
    animation: twinkle 4s ease-in-out infinite;
}

.float-star-3 {
    bottom: 15%;
    right: 30%;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes rippleAnimation {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(20px) translateY(-20px);
    }
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.bill-addon-item {
    background: white;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 6px;
    border: 1px solid #e2e8f0;
}

.bill-addon-price {
    color: var(--themeColor);
}

.bill-addon-name {
    color: #4A5568;
}

.app-store-section {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.app-store-text {
    color: #666;
}

.app-store-btn-small {
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--themeColor), #F39C5A);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(227, 125, 48, 0.3);
}

.app-store-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 125, 48, 0.5);
    color: #fff;
    background: linear-gradient(135deg, #d46b1f, var(--themeColor));
}

.app-store-btn-small i {
    font-size: clamp(0.06875rem, -0.1705rem + 1.1962vw, 1.25rem);
}

.app-store-btn-small span {
    white-space: nowrap;
}


/* ========================================
   Logout Modal
   ======================================== */

/* Logout Icon Circle */
.logout-icon {
    width: clamp(70px, 10vw, 80px);
    height: clamp(70px, 10vw, 80px);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.1) 100%);
    border-radius: 50%;
    border: 3px solid rgba(220, 53, 69, 0.2);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
}

/* Cancel Logout Button */
.btn-cancel-logout {
    background: #eaeef1;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-cancel-logout:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Confirm Logout Button */
.btn-confirm-logout {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.btn-confirm-logout:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}
