﻿
.input-icon {
    position: relative;
}
.bt {
    border: hidden!important;
    background-color: #e9ecef!important;
}
.input-icon i {
    position: absolute;
    left: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    color: #aaa; /* Icon color */
}

.form-control {
    width: 100%;
    padding: 10px 10px 10px 40px; /* Add padding to the left for the icon */
    border: none; /* Remove all borders */
    border-bottom: 2px solid #ccc; /* Add bottom border */
    border-radius: 0; /* Remove border radius */
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-bottom: 2px solid #007bff; /* Change bottom border color on focus */
        outline: none; /* Remove outline */
    }

/* Modal Header */
.modal-header {
    padding: 1.5rem;
    border-bottom: none;
    background-color: #6389c0; /* Updated color */
    color: #fff;
}

    .modal-header h5 {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .modal-header .btn-secondary {
        font-size: 1rem;
        background-color: transparent;
        color: #fff;
        border: none;
        opacity: 0.7;
    }

        .modal-header .btn-secondary:hover {
            opacity: 1;
        }

/* Modal Body */
.modal-body {
    padding: 2rem;
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

    .modal-body p {
        font-size: 1rem;
        color: #6c757d;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .modal-body .form-group label {
        font-weight: bold;
        margin-bottom: 0.5rem;
        display: block;
    }

    .modal-body .form-control {
        font-size: 1rem;
        border-radius: 30px;
        padding: 0.75rem 1.5rem;
        border: 1px solid #ced4da;
    }

/* Modal Footer */
.modal-footer {
    border-top: none;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .modal-footer .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem;
        border-radius: 30px;
        font-weight: bold;
    }

    .modal-footer .btn-primary {
        background-color: #6689be; /* Updated color */
        border-color: #6689be;
        color: #fff;
    }

        .modal-footer .btn-primary:hover {
            background-color: #6689be;
            border-color: #6689be;
        }

    .modal-footer .btn-outline-secondary {
        color: #6689be;
        border-color: #6689be;
    }

        .modal-footer .btn-outline-secondary:hover {
            color: #6689be;
            border-color: #6689be;
        }

/* Modal Content */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: #6689be; /* Updated color */
    border-color: #6689be;
    color: #fff;
}


/* General styles for captcha container */
.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
    border: none;
    box-shadow: none;
}

/* Flex container to ensure CAPTCHA image and refresh button are aligned horizontally */
.captcha-group {
    display: flex;
    align-items: center;
}

/* Ensure CAPTCHA image and refresh button stay together */
.captcha-image {
    max-height: 40px;
    width: 150px;
    height: 50px;
    cursor: pointer;
}

/* Style for the refresh button */
/* #refreshCaptcha {
    margin-left: 10px; 
} */

/* Ensure the CAPTCHA input stays below CAPTCHA image and button on smaller screens */
@media (max-width: 767px) {
    .captcha-container {
        flex-direction: column; /* Stack the CAPTCHA image/button and input vertically */
    }

    .captcha-group {
        margin-bottom: 10px; /* Add some space between CAPTCHA and input */
    }

    .form-control {
        width: 100%; /* Make input take full width on smaller screens */
    }
}

/* For larger screens, keep CAPTCHA image/button in the same line */
@media (min-width: 768px) {
    .captcha-container {
        flex-direction: row; /* Keep the CAPTCHA and input in the same row */
    }

    .captcha-group {
        margin-right: 10px; /* Add some space between CAPTCHA image/button and the input */
    }
}


