body {
    background-color: #e4e4e4;
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 20px;
}

.site-header {
    max-width: 1000px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.preview-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.preview-sidebar {
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.preview-main {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.iframe-wrapper {
    width: 100%;
    max-width: 650px;
    /* little more than email 600px */
    border: 1px solid #ddd;
    height: 800px;
    /* draggable or resizable later? */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.action-bar {
    margin-bottom: 20px;
}

.btn {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn:hover {
    background: #0056b3;
}

.template-list {
    list-style: none;
    padding: 0;
}

.template-list li {
    margin-bottom: 10px;
}

.template-list a {
    text-decoration: none;
    color: #007bff;
}

.template-list a:hover {
    text-decoration: underline;
}