/* General Layout and Section Styling */
.o-section__content,
.aem-section__content {
    padding: 20px;
    background-color: #f8f8f8;
    margin-bottom: 20px;
}

.aem-column-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the columns horizontally */
    align-items: center; /* Centers the columns vertically */
    height: 100%; /* Ensures the container takes full height for vertical centering */
}

.aem-column-layout__item {
    width: 100%;
}

.aem-column-layout__item--span-10 {
    width: 83.33%; /* Taking up most of the space in the layout */
}

/* Tile Styling */
.m-tile {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    margin: 20px 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.m-tile--horizontal {
    flex-direction: row;
}

.aem-tile--image-position-right {
    flex-direction: row-reverse; /* Image will be on the right */
}

.m-tile__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.m-tile__head {
    margin-bottom: 10px;
}

.m-tile__heading {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.m-tile__body {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.m-tile__text p {
    margin-bottom: 10px;
}

.m-tile__text strong {
    font-weight: bold;
}

.list-icon.list-tick {
    color: green; /* Styling for the tick icon */
}

.m-tile__foot {
    margin-top: 20px;
}

.m-button {
    display: inline-block;
    background-color: #0056b3; /* Barclays' brand color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.m-button:hover {
    background-color: #003f8f; /* Darker shade on hover */
}

.m-button__text {
    display: inline;
}

.aem-button__external-link-icon {
    font-size: 16px;
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aem-column-layout__item--span-10 {
        width: 100%; /* Full width on smaller screens */
    }

    .m-tile {
        flex-direction: column; /* Stack tile vertically on smaller screens */
    }
}








/* General Form Styles */
form.custom-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form.custom-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Input and Select Fields */
form.custom-form input[type="text"],
form.custom-form input[type="email"],
form.custom-form input[type="tel"],
form.custom-form input[type="url"],
form.custom-form input[type="number"],
form.custom-form select,
form.custom-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
}

form.custom-form input[type="text"]:focus,
form.custom-form input[type="email"]:focus,
form.custom-form input[type="tel"]:focus,
form.custom-form input[type="url"]:focus,
form.custom-form input[type="number"]:focus,
form.custom-form select:focus,
form.custom-form textarea:focus {
    border-color: #0056b3;
    outline: none;
}

/* Checkbox Group */
form.custom-form .checkbox-group {
    margin-bottom: 20px;
}

form.custom-form .checkbox-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

form.custom-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* Button Styles */
form.custom-form button[type="submit"] {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    width: auto;
    display: inline-block;
    margin-top: 10px;
}

form.custom-form button[type="submit"]:hover {
    background-color: #00449f;
}

/* Responsive Styles */
@media (max-width: 768px) {
    form.custom-form {
        padding: 15px;
    }

    form.custom-form label,
    form.custom-form input,
    form.custom-form select,
    form.custom-form textarea {
        font-size: 14px;
    }
}

 #nationality {
        width: 200px; /* Adjust the width as per your requirement */
    }