#visa-check-form {
    display: block;
    /* gap: 14px;
       margin-bottom: 15px;
	*/
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

}
#visa-check-form input#visa-country-input::placeholder {
    color: #6a6a6a; /* Change this to your desired color */
    opacity: 1; /* Ensures full color visibility */
}
/* Prevent form submission flash in Firefox */
#visa-check-form:-moz-submit-invalid {
    box-shadow: none;
}
.visa-check-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#visa-country-input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius:10px;
        background: #f0f0f0;
        transition: border-color 0.3s;
}

form#visa-check-form select
 {
    background: url(/wp-content/uploads/2025/06/arrow-down.svg) no-repeat scroll calc(96% + 3px) center / 12px auto;
    z-index: 9;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#visa-check-button {
    padding: 12px 24px;
    background-color: #B40029;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
	width: 100%;
    margin-top: 15px;
}

#visa-check-button:hover {
    background-color: #005177;
}

.visa-info {
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
    display: none;
    font-weight: 400;
    font-size: 29px;
    line-height: 100%;
}
div#visa-result {
    max-width: 720px;
    margin: 40px auto 15px auto;
}

.visa-result-content {
  /*  display: flex;
    align-items: center;
    gap: 15px; */
    position: relative;
}

.visa-result-content img {
    width: 100px;
    height: auto;
}

.visa-yes {
    background-color: #87FF9921;
    border: 1px solid #5ac367;
    color: #000000;
    display: flex !important;
}

.visa-no {
    background-color: #FFE89821;
    border: 1px solid #FFC806;
    color: #000000;
    display: flex !important;
}

div#visa-result span a.apply-now {
    font-weight: 100;
    font-style: italic;
    color: #1482ff;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.apply-now:hover {
    color: rgba(0, 115, 170, 0.1);
}

/* Add these new styles 
.visa-result-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
*/

.result-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.elementor-kit-4 .visa-result-content button.remove-result-btn {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    padding: 0 8px;
    transition: opacity 0.3s;
    position: absolute;
    right: 0;
    top: 0;
}

.elementor-kit-4 .visa-result-content button.remove-result-btn:hover {
    opacity: 0.7;
}

/* Update existing visa-yes/visa-no styles */
.visa-yes, .visa-no {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

/* Add input error state */
.input-error {
    border: 2px solid #dc3545 !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}
@media only screen and (max-width: 600px) {
.visa-info {
    font-size: 14px;
    line-height: 120%;
}

.visa-result-content img {
    width: 40px;
}
.elementor-kit-4 .visa-result-content button.remove-result-btn {
    right: -17px;
    top: -17px;
}
	form#visa-check-form select, #visa-check-button
	{
		font-size: 13px;
	}
}

.selected-country
 {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}