/* Explain: CSS for admin panel media previews and device simulators. */
/* 관리자 미디어·백업·화면 미리보기 스타일 */
.admin-media-preview {
    display: flex;
    min-height: 6rem;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
    border-radius: 1.1rem;
    background: var(--surface-color);
    padding: 1rem;
}

.admin-media-thumb {
    max-height: 4.5rem;
    width: auto;
    object-fit: contain;
}

.admin-device-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.admin-device-btn {
    min-height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    padding: 0 1.1rem;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.admin-device-btn.is-active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.preview-device {
    display: flex;
    justify-content: center;
    border-radius: 1.2rem;
    background: repeating-linear-gradient(45deg, #eef2f8, #eef2f8 12px, #e7edf6 12px, #e7edf6 24px);
    padding: 1.2rem;
}

.preview-device .preview-canvas {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
    transition: max-width 250ms ease;
}

.preview-device.is-tablet .preview-canvas {
    max-width: 30rem;
}

.preview-device.is-mobile .preview-canvas {
    max-width: 17rem;
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.preview-brand-mark {
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
}

.preview-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    border-radius: 0.9rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.admin-backup-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-backup-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.7rem 0.9rem;
}

.preview-brand-logo {
    max-height: 2.6rem;
    width: auto;
    object-fit: contain;
}

.preview-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    margin-top: 0.75rem;
    border-radius: 0.9rem;
    background: var(--footer-bg);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}