/**
 * HTML Preview Mode Styles - v0.1.7
 */

.preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f9fafb;
    width:100%;
}

/* Preview Controls */
.preview-controls {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.preview-controls button {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

/* Preview Frame Wrapper */
.preview-frame-wrapper {
    flex: 1;
    padding: 1rem;
    overflow: auto;
    min-height: 0;
}

.preview-frame {
    width: 100%;
    height: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    text-align: center;
    padding: 2rem;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Loading State */
.preview-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
    font-size: 0.875rem;
}