/* Booking Form Styles - NO BOOTSTRAP CONFLICTS */
/* BOOKING PAGE SPECIFIC - Fix white gap above nav bar */
html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    position: relative;
}

/* Force the page to start from the very top */
* {
    margin: 0;
    padding: 0;
}

/* Remove any top spacing from the first element after body */
body > header:first-child,
body > main:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure nav bar is at the absolute top */
#Nav-bar {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force booking hero to start right after nav */
.booking-hero {
    margin-top: 70px !important;
    padding-top: 0 !important;
    position: relative;
    top: 0 !important;
}

/* Remove any Bootstrap or global spacing that might interfere */
.container, .container-fluid {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Force remove any inherited spacing */
main {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 0 !important;
}

/* Additional debugging - temporarily add this to see what's causing the gap */
body::before {
    content: '';
    display: block;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Booking Hero Section */
.booking-hero {
    background: linear-gradient(10deg, #0A2463 50%, #0f31a0 100%);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(13, 32, 136, 0.63) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(11, 8, 165, 0.788) 0%, transparent 50%);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    min-height: 300px;
    background-color: #0A2463;
}

.booking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.booking-hero .container {
    position: relative;
    z-index: 2;
}

.booking-hero h1 {
    font-family: "Lobster", sans-serif;
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #FFD166;
    padding-top: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.booking-hero p {
    font-size: 1.4rem;
    opacity: 1;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.customer-type-indicator {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.type-badge {
    background: rgba(20, 18, 114, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid whitesmoke;
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#customerTypeText {
    color: whitesmoke;
    font-family: Montserrat,sans-serif;
    font-size: 2rem;
}

.type-badge i {
    color: whitesmoke;
    font-size: 1.3rem;
}

/* Booking Form Section */
.booking-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

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

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #0A2463 0%, #1E40AF 100%);
    padding: 30px 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.booking-step span {
    color: white;
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;  
}

.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}


.booking-step.active {
    color: #FFD166;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.booking-step.active .step-circle {
    background: #FFD166;
    color: #0A2463;
    border-color: #FFD166;
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(255, 209, 102, 0.4);
    font-weight: 800;
}

.booking-step.completed {
    color: #28a745;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.booking-step.completed .step-circle {
    background: #28a745;
    color: white;
    border-color: #28a745;
    box-shadow: 0 3px 15px rgba(40, 167, 69, 0.3);
}

.booking-step.completed .step-circle::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 1rem;
}

/* Form Steps */
.booking-form {
    padding: 40px;
}

.booking-form-step {
    display: none;
    animation: fadeInStep 0.5s ease-in-out;
}

.booking-form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-form-step h2 {
    color: #0A2463;
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.booking-form-step h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0A2463, #FFD166);
    border-radius: 2px;
}

/* Form Layout */
.booking-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form-group {
    margin-bottom: 25px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0A2463;
    font-weight: 600;
    font-size: 1rem;
}

.booking-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.booking-form-control:focus {
    outline: none;
    border-color: #0A2463;
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
    transform: translateY(-1px);
}

.booking-error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.booking-form-control.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Customer Fields */
.booking-customer-fields {
    transition: all 0.3s ease;
}

/* Email Input Group */
.booking-email-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-email-at-symbol {
    font-weight: bold;
    color: #0A2463;
    font-size: 1.2rem;
}

/* Phone Input Group */
.booking-phone-input-group {
    display: flex;
    align-items: center;
}

.booking-country-code {
    display: flex;
    align-items: center;
    background: #f7fafc;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-weight: 600;
    color: #0A2463;
    gap: 8px;
}

.booking-flag-icon {
    font-size: 1.2rem;
}

.booking-phone-input-group .booking-form-control {
    border-radius: 0 10px 10px 0;
}

.booking-country-select-wrapper {
    position: relative;
}

.booking-country-code-select {
    appearance: none;
    background: #f7fafc url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2463' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center;
    background-size: 16px;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    min-width: 200px;
    font-weight: 600;
    color: #0A2463;
    box-sizing: border-box;
}

/* Car Selection */
.booking-car-selection {
    margin-bottom: 40px;
}

.booking-car-selection h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.booking-car-option {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.booking-car-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0A2463, #FFD166);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-car-option:hover {
    transform: translateY(-5px);
    border-color: #0A2463;
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.15);
}

.booking-car-option:hover::before {
    opacity: 1;
}

.booking-car-option.selected {
    border-color: #FFD166;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
    transform: translateY(-5px);
}

.booking-car-option.selected::before {
    opacity: 1;
    background: linear-gradient(to right, #FFD166, #FF9E4A);
}

.booking-car-option img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.booking-car-option:hover img {
    transform: scale(1.05);
}

.booking-car-option h4 {
    color: #0A2463;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.booking-car-option p {
    color: #4D648D;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.booking-car-price {
    color: #0A2463;
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(255, 209, 102, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

/* Date Selection */
.booking-date-selection {
    margin-bottom: 30px;
}

.booking-date-selection h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-rental-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0A2463;
}

.booking-summary-item span {
    font-size: 0.9rem;
    font-family: Montserrat,sans-serif;
}

/* Location Selection */
.booking-location-selection {
    margin-bottom: 40px;
}

.booking-location-selection h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-location-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.booking-location-option {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.booking-location-option:hover {
    border-color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.1);
}

.booking-location-option.selected {
    border-color: #FFD166;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.booking-location-option i {
    color: #0A2463;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.booking-location-option h4 {
    color: #0A2463;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.booking-location-option p {
    color: #4D648D;
    font-size: 0.9rem;
    margin: 0;
}

.booking-custom-location-input {
    margin-top: 20px;
}

.booking-form-text {
    color: #4D648D;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Services Selection */
.booking-services-selection h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-service-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-service-option {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.booking-service-option:hover {
    border-color: #0A2463;
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.1);
}

.booking-service-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.booking-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A2463 0%, #1E40AF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.booking-service-details h4 {
    color: #0A2463;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.booking-service-details p {
    color: #4D648D;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.booking-service-price {
    color: #0A2463;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: Montserrat,sans-serif;
}

/* Custom Checkbox */
.booking-service-toggle {
    position: relative;
}

.booking-service-checkbox {
    opacity: 0;
    position: absolute;
}

.booking-checkbox-label {
    display: block;
    width: 60px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.booking-checkbox-label::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.booking-service-checkbox:checked + .booking-checkbox-label {
    background: #0A2463;
}

.booking-service-checkbox:checked + .booking-checkbox-label::before {
    transform: translateX(30px);
}

/* Booking Summary */
.booking-summary {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.booking-summary-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #FFD166;
}

.booking-summary-section h3 {
    color: #0A2463;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.booking-summary-section .booking-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.booking-summary-section .booking-summary-item span:first-child {
    color: #4D648D;
    font-weight: 500;
}

.booking-summary-section .booking-summary-item span:last-child {
    color: #0A2463;
    font-weight: 600;
}

.booking-total-section {
    background: linear-gradient(135deg, #0A2463 0%, #1E40AF 100%);
    color: white;
    border-left: 4px solid #FFD166;
}

.booking-total-section h3 {
    color: white;
}

.booking-cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
}

.booking-cost-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD166;
}

.booking-cost-item span {
    font-size: 1.3rem;
    font-family: Montserrat, sans-serif;
    color: white;
}

.booking-cost-total span {
    font-size: 1.5rem;
    font-family: Montserrat,sans-serif;
    color: white;
}

/* Form Navigation - CUSTOM BUTTONS TO AVOID BOOTSTRAP CONFLICTS */
.booking-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.booking-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.booking-btn-primary {
    background: linear-gradient(to right, #0A2463, #1E40AF);
    color: white;
}

.booking-btn-primary:hover {
    background: linear-gradient(to right, #1E40AF, #0A2463);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
    color: white;
}

.booking-btn-secondary {
    background: #6c757d;
    color: white;
}

.booking-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
}

.booking-btn-success {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
}

.booking-btn-success:hover {
    background: linear-gradient(to right, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Flash Animation for Errors */
@keyframes flashRed {
    0% { border-color: #dc3545; box-shadow: 0 0 5px rgba(220, 53, 69, 0.5); }
    50% { border-color: #dc3545; box-shadow: 0 0 10px rgba(220, 53, 69, 0.8); }
    100% { border-color: #dc3545; box-shadow: 0 0 5px rgba(220, 53, 69, 0.5); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .booking-hero {
        padding: 100px 0 60px;
    }
    
    .booking-hero h1 {
        font-size: 2.5rem;
    }
    
    .booking-hero p {
        font-size: 1.2rem;
    }
    
    .booking-form-section {
        padding: 40px 0;
    }
    
    .booking-form {
        padding: 30px 20px;
    }
    
    .progress-steps {
        padding: 25px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .booking-step {
        font-size: 0.9rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .booking-form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-car-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .booking-location-options {
        grid-template-columns: 1fr;
    }
    
    .booking-email-input-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .booking-phone-input-group {
        flex-direction: column;
    }
    
    .booking-country-code, .booking-country-code-select {
        border-radius: 10px 10px 0 0;
        border-right: 2px solid #e2e8f0;
        width: 100%;
    }
    
    .booking-phone-input-group .booking-form-control {
        border-radius: 0 0 10px 10px;
        border-top: none;
    }
    
    .booking-service-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .booking-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .booking-hero h1 {
        font-size: 2rem;
    }
    
    .booking-hero p {
        font-size: 1rem;
    }
    
    .type-badge {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .booking-container {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .booking-car-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-car-option {
        padding: 15px;
    }
    
    .booking-car-option img {
        height: 100px;
    }
    
    .progress-steps {
        padding: 20px 15px;
    }
    
    .booking-step {
        font-size: 0.8rem;
    }
    
    .booking-step span {
        display: none;
    }
    
    .booking-form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .booking-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === NR Custom Country Select (v8 CSS — floating dropdown, 52px control) === */
.booking-page .booking-country-select-wrapper {
  position: relative;
  overflow: visible;
}

.booking-page .nr-country-select {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 300px;
  font-family: "Roboto", "Montserrat", sans-serif;
  z-index: 20;
}

/* Hide native select but keep functional */
.booking-page select#countryCode.booking-country-code-select.nr-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Trigger — unified to 52px height to match phone input */
.nr-country-select__trigger {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px 0 0 10px;
  color: #0A2463;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.nr-country-select__trigger:hover,
.nr-country-select__trigger:focus {
  border-color: #0A2463;
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.08);
}

/* Left content (flag + label + dial) */
.nr-country-select__left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

/* Flag */
.nr-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  flex: 0 0 16px !important;
  border-radius: 2px;
  overflow: hidden;
  font-size: 16px;
}
.nr-country-flag img {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

/* Trigger text */
.booking-page .nr-country-label {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  color: #0A2463;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.booking-page .nr-country-dial--trigger {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: #4D648D;
  white-space: nowrap;
}
.booking-page .nr-country-caret .fa {
  font-size: 0.9rem;
  color: #0A2463;
}

/* Floating dropdown (portal attached to <body>) */
.booking-page .nr-country-dropdown {
  position: fixed;
  top: -9999px; left: -9999px;
  display: none;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(10, 36, 99, 0.15);
  box-sizing: border-box;
  min-width: 240px;
  max-width: 90vw;
  max-height: min(50vh, 360px);
  overflow-y: auto;
  padding: 6px 8px 10px;
  z-index: 999999;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.booking-page .nr-country-dropdown.open {
  display: block;
}

/* Option rows */
.nr-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px;
  border-radius: 8px;
  cursor: pointer;
  color: #0A2463;
  transition: background 0.2s ease, transform 0.08s ease;
  box-sizing: border-box;
}
.nr-country-option:hover { background: #f5f7fb; }
.nr-country-option:active { transform: scale(0.99); }

.nr-country-option .nr-country-flag {
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  flex: 0 0 16px !important;
}
.nr-country-option .nr-country-flag img {
  width: 16px !important;
  height: 16px !important;
}

/* Option texts */
.booking-page .nr-country-option .nr-country-name {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  white-space: nowrap;
}
.booking-page .nr-country-option .nr-country-dial {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.85rem !important;
  color: #4D648D;
  white-space: nowrap;
}

/* Phone group layout */
.booking-page .booking-phone-input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: visible;
}
.booking-page .booking-phone-input-group .nr-country-select { flex: 0 0 auto; }
.booking-page .booking-phone-input-group .booking-form-control { flex: 1 1 auto; }

/* Responsive */
@media (max-width: 600px) {
  .booking-page .nr-country-select {
    min-width: 0;
    width: 100%;
    display: block;
  }
  .booking-page .nr-country-dropdown {
    max-width: 100vw;
  }
  .nr-country-select__trigger {
    border-radius: 10px 10px 0 0;
  }
}

/* === NR: EG prefix hard cap to 52px and alignment === */
.booking-page .booking-phone-input-group .booking-country-code,
.booking-page .booking-country-code,
.booking-page .booking-country-code.nr-has-egy,
.booking-page .nr-has-egy {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 8px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  box-sizing: border-box !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #0A2463 !important;
}

/* Ensure the flag doesn’t inflate the row */
.booking-page .booking-country-code .nr-flag-eg,
.booking-page .booking-country-code .nr-flag-eg img,
.booking-page .nr-has-egy .nr-flag-eg,
.booking-page .nr-has-egy .nr-flag-eg img {
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Baseline-safe inline chips for EG and +20 */
.booking-page .nr-has-egy > .nr-flag-eg,
.booking-page .nr-has-egy > .nr-egy-label,
.booking-page .nr-has-egy > .nr-egy-dial {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Style for the 'EG' label (wrapped by JS) */
.booking-page .nr-egy-label {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0A2463 !important;
  letter-spacing: 0.2px;
}

/* Style for the +20 dial (wrapped by JS) */
.booking-page .nr-egy-dial {
  font-family: "Roboto", "Montserrat", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0A2463 !important;
  letter-spacing: 0.2px;
}

/* Optional micro-nudge if a browser renders +20 1px low:
.booking-page .nr-egy-dial { position: relative; top: -0.5px; }
*/
/* === NR: Micro-nudge to align +20 perfectly with EG (append at very end) === */
.booking-page .nr-egy-dial {
  position: relative;
  top: -1px !important;
}