/* megacaptcha.css */
.megacaptcha-widget {
    max-width: 320px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 12px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}

.megacaptcha-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.megacaptcha-content {
}

.megacaptcha-image-container {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}

.megacaptcha-image {
    width: 100%;
    height: auto;
    display: block;
}

.megacaptcha-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}



.megacaptcha-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.3s;
	max-width:100%;
}

.megacaptcha-input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.megacaptcha-refresh {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.3s;
    line-height: 1;
}

.megacaptcha-refresh:hover {
    background: #f0f0f0;
    color: #333;
}

.megacaptcha-copyright {
    text-align: right;
    font-size: 10px;
}

.megacaptcha-copyright a {
	color: #999;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: right;
}

.megacaptcha-copy-img{
	width:20px;
	margin-left:5px;
}

.megacaptcha-copyright a:hover {
    color: #666;
    text-decoration: underline;
}

.megacaptcha-error {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    font-size: 14px;
}