/* CAPTCHA Styles */
.captcha-group {
    margin-bottom: 20px;
}

.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 5px;
    padding: 5px;
    width: fit-content;
}

.captcha-display {
    width: 150px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 3px;
}

.captcha-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%);
    background-size: 4px 4px;
}

.captcha-text span {
    margin: 0 2px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.refresh-captcha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #4e73df;
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    background-color: #2e59d9;
    transform: rotate(180deg);
}

.refresh-captcha i {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .captcha-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .captcha-display {
        width: 80%;
        height: 45px;
    }
}
