@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    margin: auto;
    padding: 20px;
}

h2 {
    color: #007bff;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

form {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.form-label {
    font-weight: 600;
    color: #495057;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
}

.captcha-container {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    background-color: #f1f1f1;
    position: relative;
}

.captcha-image {
    flex: 1;
    user-select: none;
    pointer-events: none; /* Disable mouse events */
}

.captcha-image img {
    max-width: 100px;
    height: auto;
}

.captcha-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.captcha-buttons .btn {
    padding: 5px 10px;
    font-size: 0.875rem;
    border: none;
    border-radius: 4px;
    background-color: #e9ecef;
    color: #333;
}

.captcha-buttons .btn:hover {
    background-color: #ced4da;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

@media (max-width: 767px) {
    .container {
        padding: 10px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .captcha-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .captcha-buttons {
        margin: 0;
        align-items: center;
        margin-left: 10px;
    }

    .captcha-image {
        margin-bottom: 0;
    }

    .captcha-image img {
        max-width: 80px;
    }
}

.modal-backdrop.show {
    opacity: 0.5;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

.modal-content {
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    background-color: #fff;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    background-color: #f8f9fa;
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #212529;
}

.modal-header .btn-close {
    background: none;
    border: none;
    color: #754444;
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
    color: #495057;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn {
    border-radius: 0.3rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.intl-tel-input {
    width: 100%;
}

.intl-tel-input .country-list {
    z-index: 10000;
}

input[type="tel"] {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-3 label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#PhoneNo {
    width: 100%;
    box-sizing: border-box;
}

.form-control {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

#PhoneNo:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

.fontText {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.container li.red::marker{
    color: #fa393a;
    border-radius: 50%;
    left: 0;
    top: 5px;
    font-size: x-large;
}
