.captcha-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    margin-top: 20px;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.block-box {
    display: block;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.challenge-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.challenge-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.challenge-text {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.challenge-image {
    background-color: #f1f3f4;
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed #dadce0;
    user-select: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    position: relative;
    flex-grow: 1;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    flex-grow: 1;
}

input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.buttons {
    display: flex;
    gap: 10px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

#verifyBtn {
    background-color: #4285f4;
    color: white;
    width: 100px;
}

#verifyBtn:hover {
    background-color: #3367d6;
}

#refreshBtn {
    background-color: #f1f3f4;
    color: #333;
    width: 50px;
}

.refresh-icon {
    height: 25px;
    width: 25px;
}

#refreshBtn:hover {
    background-color: #e8eaed;
}

.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.success {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #b7e1c1;
}

.error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #f5b4ab;
}

.info {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.attempts {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 560px) {
    .w-50, .w-60, .w-40 {
        width: 100%;
    }

    .challenge-row {
        flex-direction: column;
    }
}