* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --saffron: #FF9933;
    --orange: #FF6B35;
    --golden: #FFD700;
    --sun-yellow: #FFC107;
    --water-blue: #1E88E5;
    --leaf-green: #4CAF50;
    --white: #FFFFFF;
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-text: #eee;
    --light-bg: #FFF8F3;
    --light-text: #333;
    --shadow: rgba(0, 0, 0, 0.1);
    --error: #f44336;
    --success: #4CAF50;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.05), rgba(255, 107, 53, 0.05)), var(--light-bg);
    color: var(--light-text);
    transition: all 0.3s ease;
    min-height: 100vh;
}

body.dark-mode {
    background: var(--dark-bg);
    color: var(--dark-text);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--saffron), var(--orange));
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sun-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--sun-yellow);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px var(--golden);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
 .float {
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.back-btn:hover {
    background: white;
    color: var(--orange);
}

/* Progress Bar */
.progress-container {
    background: white;
    padding: 2rem 20px;
    box-shadow: 0 2px 10px var(--shadow);
}

body.dark-mode .progress-container {
    background: var(--dark-card);
}

.progress-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.progress-line-active {
    position: absolute;
    top: 25px;
    left: 0;
    height: 2px;
    background: var(--orange);
    z-index: 2;
    width: 0%;
    transition: width 0.3s ease;
}

.step {
    text-align: center;
    position: relative;
    z-index: 3;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    color: #999;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--orange);
    color: white;
    transform: scale(1.1);
}

.step.completed .step-circle {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #999;
}

.step.active .step-label {
    color: var(--orange);
    font-weight: bold;
}

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 20px;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
}

body.dark-mode .form-card {
    background: var(--dark-card);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    text-align: center;
    color: var(--saffron);
    margin-bottom: 2rem;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}

body.dark-mode label {
    color: var(--dark-text);
}

.required {
    color: var(--error);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: var(--dark-bg);
    border-color: #444;
    color: var(--dark-text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 42px;
    color: #999;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Package Selection */
.package-selection {
    margin: 2rem 0;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.package-card {
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

body.dark-mode .package-card {
    border-color: #444;
}

.package-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.package-card.selected {
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(255, 107, 53, 0.1));
}

.package-radio {
    position: absolute;
    opacity: 0;
}

.package-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.5rem;
    color: var(--saffron);
    margin: 0.5rem 0;
}

.package-items {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

body.dark-mode .package-items {
    color: #aaa;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--error);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

/* Error Messages */
.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.form-group.error .error-message {
    display: block;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--orange));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: #ddd;
    color: var(--light-text);
}

body.dark-mode .btn-secondary {
    background: #444;
    color: var(--dark-text);
}

.btn-secondary:hover {
    background: #ccc;
}

body.dark-mode .btn-secondary:hover {
    background: #555;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        font-size: 0.8rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}



.payment-container {
    max-width: 900px;
    margin: 3rem auto;
    /* padding: 0 20px; */
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.payment-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    flex: 1;
    box-shadow: 0 10px 30px var(--shadow);
}

body.dark-mode .payment-card {
    background: var(--dark-card);
}

.card-title {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.order-summary {
    border-bottom: 2px dashed #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

body.dark-mode .order-summary {
    border-color: #444;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.summary-label {
    color: #666;
}

body.dark-mode .summary-label {
    color: #aaa;
}

.summary-value {
    font-weight: 600;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--orange);
    margin-top: 1rem;
}

.qr-section {
    text-align: center;
}

.qr-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 3px dashed var(--orange);
    margin: 1.5rem 0;
    display: inline-block;
}

body.dark-mode .qr-box {
    background: var(--dark-bg);
}

.qr-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(255, 107, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-radius: 10px;
}

.qr-image {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    display: none;
}

.upi-id {
    background: linear-gradient(135deg, var(--saffron), var(--orange));
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-weight: bold;
    font-size: 1.1rem;
    word-break: break-all;
}

.payment-steps {
    text-align: left;
    margin: 1.5rem 0;
}

.payment-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 153, 51, 0.05);
    border-radius: 10px;
}

body.dark-mode .payment-step {
    background: rgba(255, 153, 51, 0.1);
}

.step-number {
    background: var(--orange);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.transaction-input {
    margin: 1.5rem 0;
}

.transaction-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.transaction-input input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

body.dark-mode .transaction-input input {
    background: var(--dark-bg);
    border-color: #444;
    color: var(--dark-text);
}

.transaction-input input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#bookingAddressForm,
#paymentSuccess,
.payment-container{
    display: none;
}

@media screen and (max-width:1024px) {
    .payment-grid {
        flex-direction: column;
        display: flex;
    }
    .qr-box{
        padding: 1.5rem;
    }
    .qr-placeholder{
        width: 200px;
        height: 200px;
    }
}

.payment-success{
    display: flex;
    align-self: center;
    flex-direction: column;
    align-items: center;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--saffron);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid var(--saffron);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.powered-by:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 255, 0.1);
}

.powered-by .logo-icon {
    width: 20px;
    height: 20px;
    background: var(linear-gradient(135deg, #0000FF 0%, #A855F7 70%, #00A8D4 100%));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.timer {
    text-align: center;
    font-size: 1.5rem;
    color: var(--error);
    font-weight: bold;
    margin: 1rem 0;
}