/* Communics Anti-Spam Widget Styles */

.communics-antispam-widget {
    margin: 20px 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.communics-widget-content {
    border: 1px solid #bbb;
    border-radius: 5px;
	max-width:300px;
    padding: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.communics-widget-content:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.communics-widget-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Spinner animation */
.communics-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f4f6;
    border-top-color: #FF6947;
    border-radius: 50%;
    animation: communics-spin 0.8s linear infinite;
}

@keyframes communics-spin {
    to { transform: rotate(360deg); }
}

/* Checkmark */
.communics-checkmark {
    width: 26px;
    height: 26px;
	background-color:#049a2f;
	border-radius:50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.communics-checkmark svg {
    width: 20px;
    height: 20px;
}

/* Status text */
.communics-status-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
}

.communics-widget-content.verified .communics-status-text {
    color: #111;
}

/* Branding */
.communics-widget-branding {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.communics-widget-branding a {
    color: #666;
    text-decoration: underline!important;
	box-shadow:none!important;
	border:none!important;
    transition: color 0.2s ease;
}

.communics-widget-branding a:hover {
    color: #222;
}

/* Logo (if you want to add it later) */
.communics-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 4px;
}

/* Verified state */


/* Error state */
.communics-widget-content.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.communics-widget-content.error .communics-status-text {
    color: #ef4444;
}

/* Honeypot field (hidden) */
.communics-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Responsive design */
@media (max-width: 640px) {
    .communics-widget-content {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .communics-widget-branding {
        width: 100%;
        justify-content: left;
    }
}