/**
 * LMComments Public Styles
 *
 * @package LMComments
 * @since   1.0.0
 */

/* Container - reset inherited theme styles */
.lmcomments-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Iframe */
.lmcomments-iframe {
    display: block;
    width: 100%;
    min-height: 200px;
    border: none;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

/* Error Message */
.lmcomments-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Loading State */
.lmcomments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}

.lmcomments-loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #ddd;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: lmcomments-spin 0.8s linear infinite;
}

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