/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f4f4f4;
}

/* Container */
.container {
    background: #ffffff;
    padding: 30px;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Logo */
.logo-box img {
    width: 250px;
    margin: -30px 0;
}

/* Heading */
h2 {
    color: #8c8888;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Input box */
.input-box {
    margin-bottom: 15px;
    text-align: left;
}

.input-box label {
    display: block;
    color: #8c8888;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.input-box input:focus {
    border-color: #007bff;
    outline: none;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.captcha-image {
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 10px;
  width: auto;
  /* padding: 0 15px; */
}

.captcha-refresh-btn {
  background-color: #f1f1f1;
  border: none;
  padding: 8px 10px;
  height: 45px;
  width: 45px;
  color:#007bff;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.captcha-refresh-btn i{
    font-size: 18px;
}

.captcha-refresh-btn:hover {
  background-color: #e0e0e0;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

.rotate-once {
  animation: rotate 0.3s ease-in-out;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

/* Links */
.resend-link {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    color: #8c8888;
}

.resend-link a {
    color: #007bff;
    text-decoration: none;
}

.resend-link a:hover {
    text-decoration: underline;
}

/* for the submit message start */

/* Blur and disable background when modal is active */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    backdrop-filter: blur(5px); /* Optional blur effect */
    display: none;
    z-index: 1;
}

/* Modal box */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    width: 300px;
    height: auto;
    text-align: center;
}

.modal img{
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.modal .fs
{
    color: #006aff !important;
    font-size: 18px;
    margin: 5px 0;
}

.modal p
{
    font-size: 18px;
}

.modal button
{
    padding: 10px 20px;
    background: rgb(0, 106, 255);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 15px;
}

/* Disable interaction with background */
.no-click {
    pointer-events: none;
}

/* for the submit message end */


/* loading animation css */

.loading-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.111);
    /* background-color: white; */
    opacity: 0;
    transition: all .3s ease;
    z-index: -1;
}

.loading-wrapper .loading{
    width: 50px;
    height: 50px;
    /* border: 5px solid #f3f3f3; */
    border-top: 5px solid #0099ff;
    border-radius: 50%;
    animation: spin .5s linear infinite;
}

@keyframes spin{
    100%{
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 500px) {
    .container {
        width: 90%;
    }
}
