/* Overlay */
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to right, #1e3c72, #2a5298);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
animation: fadeIn 0.5s ease-in-out;
}

/* Container */
#captcha-container {
display: flex;
flex-direction: column;
align-items: center;
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
border: none;
transform: scale(0.95);
animation: popUp 0.4s ease-out forwards;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Captcha Text */
#captcha {
font-size: 28px;
font-weight: bold;
margin-bottom: 15px;
user-select: none;
letter-spacing: 3px;
padding: 12px 20px;
background: #e0e0e0;
border-radius: 8px;
border: none;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
transition: background 0.3s ease;
}

/* Input */
#textBox {
padding: 12px;
font-size: 18px;
border: 1px solid #ccc;
border-radius: 8px;
margin-bottom: 15px;
width: 100%;
transition: border-color 0.3s ease;

}

#textBox:focus {
border-color: #0073aa;
outline: none;
}

/* Buttons */
#buttons {
display: flex;
gap: 10px;
}

button,
input[type="submit"] {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #0073aa;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

/* Output */
#output {
margin-top: 15px;
font-size: 16px;
min-height: 24px;
transition: color 0.3s ease;
}

.correctCaptcha {
    color: #28a745;
}

.incorrectCaptcha {
    color: #dc3545;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

