.pricing-summary {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1.1rem;
}

.pricing-item.total-amount {
    border-top: 2px solid #0ea5e9;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.pricing-item.total-amount strong {
    color: #0ea5e9;
    font-size: 1.5rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: white;
    padding: 40px 30px 20px;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 200px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* SVG Logo placeholder - replace with your actual logo */
.logo-svg {
    width: 120px;
    height: 60px;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.form-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
    background: #10b981;
}

.progress-step.active:not(:last-child)::after {
    background: linear-gradient(to right, #10b981 50%, #e5e7eb 50%);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
}

.progress-step.active .step-circle {
    background: #8b5cf6;
    color: white;
}

.progress-step.completed .step-circle {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.progress-step.active .step-label {
    color: #8b5cf6;
}

.progress-step.completed .step-label {
    color: #10b981;
}

.form-body {
    padding: 40px 60px 60px;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    text-align: center;
}

.step-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    display: block;
    margin-bottom: 12px;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    border: 2px solid #e5e7eb;
}

#map {
    width: 100%;
    height: 100%;
}

.location-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.location-info h4 {
    color: #0369a1;
    font-size: 1rem;
    margin-bottom: 8px;
}

.location-info p {
    color: #374151;
    font-size: 0.9rem;
    margin: 4px 0;
    word-break: break-word;
}

.map-instructions {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.map-instructions p {
    color: #92400e;
    font-weight: 500;
}

.distance-info {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.distance-info h4 {
    color: #059669;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.location-inputs {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.location-input-group {
    position: relative;
}

.map-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.map-button:hover {
    background: #7c3aed;
}

.number-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.number-input button {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.number-input button:hover {
    border-color: #8b5cf6;
    background: #f3f4f6;
}

.number-input input {
    width: 80px;
    text-align: center;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.passenger-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    margin: 20px 0;
}

.passenger-section h4 {
    text-align: center;
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.info-card {
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.info-card strong {
    color: #059669;
    font-size: 1.1rem;
}

.charges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.charge-item {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.luggage-type {
    margin-bottom: 20px;
}

.luggage-type label {
    display: block;
    text-align: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    font-size: 1rem;
}

.luggage-summary {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
}

.luggage-summary h4 {
    text-align: center;
    color: #0369a1;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.summary-breakdown {
    space-y: 10px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #374151;
    flex-wrap: wrap;
    gap: 10px;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 5px;
    border-top: 2px solid #0ea5e9;
    margin-top: 15px;
    color: #0369a1;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 15px;
}

.btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
}

.btn-back {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-back:hover {
    background: #e5e7eb;
}

.btn-next {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.confirmation-summary {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    gap: 15px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: #1f2937;
    word-break: break-word;
    text-align: right;
    min-width: 0;
    flex-shrink: 0;
}

.summary-item span {
    flex-shrink: 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.route-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

/* Fallback map styling */
.map-fallback {
    width: 100%;
    height: 400px;
    background: #f8fafc;
    border: 2px dashed #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 12px;
    color: #6b7280;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .form-container {
        max-width: 95%;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .form-header {
        padding: 30px 20px 15px;
    }

    .form-header h1 {
        font-size: 2rem;
    }

    .form-header p {
        font-size: 1rem;
    }

    .logo {
        width: 100px;
        max-height: 60px;
    }

    .logo-svg {
        width: 100px;
        height: 50px;
    }

    .form-body {
        padding: 30px 20px 40px;
    }

    .progress-bar {
        padding: 20px 10px;
        overflow-x: auto;
    }

    .progress-step {
        min-width: 80px;
    }

    .step-label {
        font-size: 0.8rem;
    }

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

    .two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .charges-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .route-details {
        flex-direction: column;
        gap: 10px;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .step-subtitle {
        font-size: 1rem;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .number-input {
        gap: 15px;
    }

    .number-input button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .number-input input {
        width: 70px;
        padding: 10px;
        font-size: 1.1rem;
    }

    .passenger-section {
        padding: 20px;
        margin: 15px 0;
    }

    .map-container {
        height: 300px;
    }

    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .summary-item strong {
        text-align: left;
    }

    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .map-button {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
        padding: 12px;
    }

    .location-input-group {
        display: flex;
        flex-direction: column;
    }

    input,
    select,
    textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 1.3rem;
    }

    .step-subtitle {
        font-size: 0.95rem;
    }

    .logo {
        width: 80px;
        max-height: 50px;
    }

    .logo-svg {
        width: 80px;
        height: 40px;
    }

    .progress-bar {
        padding: 15px 5px;
    }

    .progress-step {
        min-width: 70px;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .form-body {
        padding: 20px 15px 30px;
    }

    .passenger-section {
        padding: 15px;
    }

    .confirmation-summary {
        padding: 20px;
    }

    .luggage-summary {
        padding: 20px;
    }

    .pricing-summary {
        padding: 20px;
    }

    .number-input button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .number-input input {
        width: 60px;
        font-size: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    body {
        padding: 5px;
    }

    .form-container {
        border-radius: 15px;
    }

    .form-header {
        padding: 20px 15px 10px;
    }

    .form-body {
        padding: 15px 10px 20px;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .logo {
        width: 70px;
        max-height: 40px;
    }

    .logo-svg {
        width: 70px;
        height: 35px;
    }
}
