.form-select {
    font-size: 16px !important;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);/* This ensures popup centered */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 0px;
    font-size: 40px;
    cursor: pointer;
    color: #666;
}

.popup-close:hover {
    color: #333;
}

.calc-button-start {
    display: inline-block;
    padding: 8px 20px;
    background-color:#f47e45;
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-size: 20px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.calc-button-start:hover {
    background-color:#f47e45;
    color:black !important;
     text-decoration: none;
}

.property-option {
    border: 3px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.property-option:hover {
    border-color:  #f47e45;
    background-color: white;
    color: black;
}

.property-option.selected {
    border-color:  #f47e45;
    background-color: #f47e45;
    color: white;
}

.package-option {
    border: 3px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.package-option:hover {
    border-color:#f47e45;;
    background-color: #f8f9fa;
}

.package-option.selected {
      border-color:  #f47e45;
    background-color: #f47e45;
    color: white;
}

.form-step {
    display: none;
}

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

.form-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.error-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.form-control {
    margin-bottom: 15px;
}

.package-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.package-price {
    color: #666;
    font-size: 0.9em;
}
.package-price.selected {
    color: white !important;
}
/* General Form Styles */
.form-control, .form-select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Form Labels */
label {
    color: black;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

/* Spacing between form elements */
.mb-3 {
    margin-bottom: 20px;
}

/* Improved Dropdown Styling */
.form-select {
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    position: relative;
    padding-right: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23007bff" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

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

.btn-secondary:hover {
    background-color: #545b62;
}
/* Mobile Optimization */
@media (max-width: 768px) {
    .popup-window {
        width: 95%;  /* Increase width slightly for better fit */
        max-width: 90vw;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .mb-4 {
        margin-bottom: 0.5rem !important;
    }
    .form-navigation .btn-primary {
        margin-top: -12px !important;
        margin-bottom: 10px !important;
    }
    .form-navigation .btn-secondary {
        margin-top: -12px;
        margin-bottom: 10px;
    }
    .mb-3 {
        margin-bottom: 1rem !important;
        }
  }
/* ******************************************************************* */
.room-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.room-counter label {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.room-counter button {
    width: 32px;
    height: 32px;
    background-color: #f47e45;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.room-counter button:hover {
    background-color:#f47e45;
}

.room-counter span {
    width: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.form-navigation button {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

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

.form-navigation .btn-secondary:hover {
    background-color: #5a6268;
}

.form-navigation .btn-primary {
    background-color: #f47e45;
    color: white;
}

.form-navigation .btn-primary:hover {
    background-color:#f47e45;
}
