/**
 * Ethereal Widgets - Frontend Styles
 * 
 * Base styles for rendered ethereal components
 */

/* Base reset for ethereal components */
[class^="ethereal-"],
[class*=" ethereal-"] {
    box-sizing: border-box;
}

/* Placeholder (shown when no template) */
.ethereal-placeholder {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
}

.ethereal-placeholder p {
    margin: 0;
    color: #6c757d;
}

/* Common utility classes for generated content */
.ethereal-flex {
    display: flex;
}

.ethereal-grid {
    display: grid;
}

.ethereal-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive images */
.ethereal-img-responsive {
    max-width: 100%;
    height: auto;
}

/* Button base */
.ethereal-btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.ethereal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card base */
.ethereal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Text utilities */
.ethereal-text-center {
    text-align: center;
}

.ethereal-text-left {
    text-align: left;
}

.ethereal-text-right {
    text-align: right;
}

/* Spacing utilities */
.ethereal-mt-1 {
    margin-top: 0.5rem;
}

.ethereal-mt-2 {
    margin-top: 1rem;
}

.ethereal-mt-3 {
    margin-top: 1.5rem;
}

.ethereal-mt-4 {
    margin-top: 2rem;
}

.ethereal-mb-1 {
    margin-bottom: 0.5rem;
}

.ethereal-mb-2 {
    margin-bottom: 1rem;
}

.ethereal-mb-3 {
    margin-bottom: 1.5rem;
}

.ethereal-mb-4 {
    margin-bottom: 2rem;
}

.ethereal-p-1 {
    padding: 0.5rem;
}

.ethereal-p-2 {
    padding: 1rem;
}

.ethereal-p-3 {
    padding: 1.5rem;
}

.ethereal-p-4 {
    padding: 2rem;
}