/* WP Member Image Lock — Frontend placeholder styles */

.wmil-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 24px;
    background-color: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
    color: #6b7280;
    min-height: 120px;
    margin: 1em 0;
    box-sizing: border-box;
    width: 100%;
}

.wmil-placeholder-icon {
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.5;
}

.wmil-placeholder-message {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

.wmil-login-link {
    display: inline-block;
    padding: 6px 18px;
    background-color: #2563eb;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.wmil-login-link:hover,
.wmil-login-link:focus {
    background-color: #1d4ed8;
    color: #fff !important;
    text-decoration: none;
}

/* When placeholder replaces a figure, inherit figure width */
figure .wmil-placeholder,
.wp-block-image .wmil-placeholder {
    width: 100%;
}
