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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main Page Styles */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.content-center {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.content-center h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.content-center p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.primary-btn {
    background-color: #2E6EAF;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
    background-color: #2E6EAF;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #e5e7eb;
    color: #374151;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.secondary-btn:hover {
    background-color: #d1d5db;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-container {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 64rem;
    max-height: 90vh;
    overflow: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.checkout-badge {
    background-color: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0px 4px 0px 0px #333333;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.close-btn {
      background: #d3d3d3;
    border-radius: 25px;
    border: none;
    height: 40px;
    /* font-size: 30px; */
    width: 40px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f3f4f6;
}

.modal-content {
     padding: 1.5rem;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
    background-color: #2E6EAF;
    color: white;
}

.step-title {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.3s;
}

.step-item.active .step-title,
.step-item.completed .step-title {
    color: #2E6EAF;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 1rem;
    margin-bottom: 1.5rem;
    min-width: 100px;
    transition: background-color 0.3s;
}

.step-line.completed {
    background-color: #2E6EAF;
}
 

/* Step Content */
.step-content {
    display: none;
    max-width: 52rem;
    width: 52rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
   .step-content {
    width: 100%;
} 
    
}


.step-content.active {
    display: block;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Plan Card */
.plan-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.plan-info h4 {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.plan-type {
    font-weight: bold;
    font-size: 1.125rem;
}

.plan-pricing {
    text-align: right;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.per-day {
    font-size: 0.875rem;
    color: #6b7280;
}

.excluding-vat {
    font-size: 0.875rem;
    color: #ef4444;
}

.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1rem 0;
}

.vat-row {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    margin-bottom: 1rem;
}

.vat-amount {
    font-weight: 500;
}

.total-row {
    background-color: #f3f4f6;
    border-radius: 0.25rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 600;
}

.total-amount {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2E6EAF;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.date-input {
    text-align: center;
}

/* Payment Styles */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    cursor: pointer;
}

.mtn-logo {
    width: 2rem;
    height: 2rem;
    background-color: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    margin-right: 0.75rem;
}

.chevron {
    margin-left: auto;
    color: #6b7280;
}

.phone-input {
    display: flex;
}

.country-code {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: #f9fafb;
    font-size: 1rem;
}

.phone-input input {
    border-radius: 0 0.5rem 0.5rem 0;
    border-left: none;
}

.booking-summary {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.booking-summary h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.summary-item span:first-child {
    color: #6b7280;
}

.summary-item span:last-child {
    font-weight: 500;
}

.summary-total {
    font-weight: bold !important;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
}

.step-actions button {
    flex: 1;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

/* Success Page */
.success-content {
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
}

.success-decorations {
    position: relative;
    margin-bottom: 2rem;
}

.star, .sparkle {
    position: absolute;
}

.star-1 {
    top: -1rem;
    left: -1rem;
    color: #ef4444;
}

.sparkle-1 {
    top: -0.5rem;
    right: 1rem;
    color: #fbbf24;
}

.star-2 {
    bottom: -0.5rem;
    left: -0.5rem;
    color: #3b82f6;
}

.sparkle-2 {
    bottom: 1rem;
    right: -0.5rem;
    color: #ec4899;
}

.success-checkmark {
    width: 6rem;
    height: 6rem;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-content h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-message {
    color: #6b7280;
    margin-bottom: 2rem;
}

.success-message p {
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-center h1 {
        font-size: 2rem;
    }
    
    .content-center p {
        font-size: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .step-indicator {
        margin-bottom: 1.5rem;
    }
    
    .step-line {
        min-width: 50px;
    }
    
    .modal-container {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .date-grid {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .step-title {
        font-size: 0.75rem;
        text-align: center;
    }
    .plan-info h4,.plan-type {
    font-size: 15px;
    }
}